Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoopCompute ¶
func LoopCompute[T any](records []T, onCompute func(record T), options ...LoopOption)
Types ¶
type LoopOption ¶
type LoopOption func(*loopConfig)
func Context ¶
func Context(value context.Context) LoopOption
func MaxCapacity ¶
func MaxCapacity(value int) LoopOption
func MaxWorker ¶
func MaxWorker(value int) LoopOption
Click to show internal directories.
Click to hide internal directories.