Function batchMessages

  • Batches messages in a timeframe or until a certain number of messages is dispatched.

    Parameters

    Returns LogProcessor

    The processor callback.