package
0.0.0-20240201022239-0ae679bc1fb1
Repository: https://github.com/peakchen/go-zero.git
Documentation: pkg.go.dev
# Functions
NewBulkExecutor returns a BulkExecutor.
NewChunkExecutor returns a ChunkExecutor.
NewDelayExecutor returns a DelayExecutor with given fn and delay.
NewLessExecutor returns a LessExecutor with given threshold as time interval.
NewPeriodicalExecutor returns a PeriodicalExecutor with given interval and container.
WithBulkInterval customizes a BulkExecutor with given flush interval.
WithBulkTasks customizes a BulkExecutor with given tasks limit.
WithChunkBytes customizes a ChunkExecutor with the given chunk size.
WithFlushInterval customizes a ChunkExecutor with the given flush interval.
# Structs
No description provided by the author
No description provided by the author
A DelayExecutor delays a tasks on given delay interval.
A LessExecutor is an executor to limit execution once within given time interval.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
Execute defines the method to execute tasks.