Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchProcessor ¶
type BatchProcessor struct {
// contains filtered or unexported fields
}
BatchProcessor handles batch processing operations
func NewBatchProcessor ¶
func NewBatchProcessor(config Config, processor func([]BatchItem) []BatchItem) *BatchProcessor
NewBatchProcessor creates a new batch processor
func (*BatchProcessor) Add ¶
func (b *BatchProcessor) Add(item BatchItem)
Add adds a new item to be processed
func (*BatchProcessor) Stop ¶
func (b *BatchProcessor) Stop()
Stop gracefully shuts down the batch processor
Click to show internal directories.
Click to hide internal directories.