Home Reference Source

Typedef

Static Public Summary
public

Static Public

public IBatcherOptions: Object source

Properties:

NameTypeAttributeDescription
interval Number
  • optional
  • default: 10

The flush interval in seconds. If you set this value then the batch will be flushed on a regular interval

batchSize Number
  • optional
  • default: 5000

The maximum batch size. If the batch has reached this size it will be flushed. If you have set an 'interval' and this interval has not yet been reached, the batch is flushed anyway.