package
0.0.0-20241205052350-2874e7b89116
Repository: https://github.com/injoyai/tinygo.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewEntity @cap,通道大小 @num,释放携程数量,默认1.
NewEntityWithContext @ctx,上下文 @cap,通道大小 @num,释放携程数量,默认1.
No description provided by the author
No description provided by the author
NewLimit 同时执行最大数.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRerun 执行一个函数,重新执行函数,会关掉老的函数.
No description provided by the author
No description provided by the author
NewTrunk 消息总线,发布和订阅.
NewWaitLimit sync.WaitGroup基础上加了同时释放的数量.
NewWaitOnce 只使用一次,.
Range 仿python的range 参数1-3个 当1个参数, 例 Range(5) 输出 0,1,2,3,4 当2个参数, 例 Range(1,5) 输出 1,2,3,4 当3个参数, 例 Range(0,5,2) 输出 0,2,4.
Traverse 遍历 range each traverse @num,数量,-1为死循环 @interval,间隔.
TraverseCount 按次数遍历.
TraverseInterval 按时间间隔遍历.

# Variables

No description provided by the author

# Structs

Counter 计数器.
Entity 实例.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueueCover 消息队列,百万次数据存入0.07s 如果队列已满,后进会把消息整体前移,最前的消息会丢弃.
QueueFunc 协程数量控制.
No description provided by the author
No description provided by the author
Subscribe 订阅 */.
Trunk 消息总线,发布和订阅.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author