Skip to content

zldevil/time-wheel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

time-wheel

Image text

通过时间轮管理需要延迟触发的信号,当时间到达后通知上层调用者 支持添加单次触发的延迟通知和周期性的定时通知,为每个添加的触发生成唯一ID,可以通过该ID删除定时触发

#todo 后续可以改进成每个时间轮单独一个goroutine管理,各个时间轮通过channel进行通信

About

golang版本的时间轮实现,批量管理定时通知

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages