heldFor method

int heldFor(
  1. int streamId
)

Bytes currently charged to streamId, for diagnostics and tests.

Implementation

int heldFor(int streamId) => _queues[streamId]?.bytes ?? 0;