package
0.0.0-20230703141307-5086de3faced
Repository: https://github.com/lstack-org/utils.git
Documentation: pkg.go.dev

# Functions

NewBatchContext 构建BatchContext实例.
NewBatchRes 构建一个BatchRes实例.
No description provided by the author
No description provided by the author
UntilWithCancel 每period时间间隔,执行一次f,直到内部调用until.Cancel或ErrorBreak.
UntilWithTimeout 每period时间间隔,执行一次f,直到timeout或内部调用until.Cancel或ErrorBreak.

# Structs

BatchTasks BatchWait实现类.

# Interfaces

BatchContext 批量任务上下文接口.
BatchRes 定义批量任务处理后的返回结果.
No description provided by the author
No description provided by the author
Until 用于控制循环任务的控制器.

# Type aliases

BatchTaskAction 批量任务函数类型定义.