# Functions
New creates a new batcher.
WithFlushCallback sets the flush callback of the batcher.
WithFlushInterval sets the optional flush interval of the batcher.
WithMaxCapacity sets the max capacity of the batcher.
# Type aliases
BatcherOption is the option for the batcher.
FlushCallback is the callback function that will be called when the batcher is full or the flush interval is reached.