@jacraig/woodchuck
    Preparing search index...

    Class BatchedSinkOptions

    BatchedSinkOptions configures the behavior of BatchedSink.

    Allows setting the maximum batch size, flush interval, and storage backend (localStorage or in-memory).

    Example usage: const options = new BatchedSinkOptions(); options.maxBatchSize = 20; options.maxWaitTime = 1000;

    Index

    Constructors

    Properties

    maxBatchSize: number = 10

    The maximum number of log events to buffer before writing them to the sink (default is 10)

    maxWaitTime: number = 500

    The maximum time to wait before writing the buffered log events to the sink (default is 500ms)

    storage: Storage = ...

    The storage to use for the batched sink (default is localStorage in browser, in-memory in Node)