chunkDelay property

Duration chunkDelay
getter/setter pair

Artificial latency between streamed chunks.

Zero by default, which yields the whole reply within one frame. Set it to observe the bubble growing — an assertion on an intermediate frame is the only one that distinguishes streaming from a single delivery.

Implementation

Duration chunkDelay = Duration.zero;