SkillAgentSearch skills...

Timingwheel

fast timingwheel

Install / Use

/learn @rfyiamcool/Timingwheel
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

timingwheel

golang fast timingwheel

Usage

package main

import (
	"time"

	"github.com/rfyiamcool/timingwheel"
)

func main() {
	tw := timingwheel.NewTimingWheel(1*time.Second, 60)
	tw.Start()

	tw.Sleep(1 * time.Second)

	select {
	case <-tw.After(1 * time.Second):
	}
}

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2y ago
Forks0

Languages

Go

Security Score

50/100

Audited on Apr 9, 2023

No findings