Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batcher ¶
type Batcher[T any] struct { // contains filtered or unexported fields }
Batcher is a utility that batches items together and then invokes the provided function on that whenever it reaches the specified size or the timeout is reached.
Click to show internal directories.
Click to hide internal directories.