//
pkg.gl
Category
github.com/davyxu/cellnet
timer
package
4.2.0+incompatible
Repository:
https://github.com/davyxu/cellnet.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
6
Files
128 SLOC
#
Functions
After
在给定的duration持续时间后, 执行callbackObj对象类型对应的函数回调 q: 队列,在指定的队列goroutine执行, 空时,直接在当前goroutine context: 将context上下文传递到带有context指针的函数回调中.
NewLoop
执行一个循环, 持续调用callback, 周期是duration context: 将context上下文传递到带有context指针的函数回调中.
#
Structs
Loop
轻量级的持续Tick循环.
#
Interfaces
AfterStopper
No description provided by the author