RpcStreamBufferLedger constructor

RpcStreamBufferLedger({
  1. required int limitBytes,
  2. required int limitEvents,
  3. int? limitTotalBytes,
})

Creates a ledger admitting limitBytes and limitEvents per stream, and limitTotalBytes across all of them.

Implementation

RpcStreamBufferLedger({
  required this.limitBytes,
  required this.limitEvents,
  this.limitTotalBytes,
});