Skip to content

COPY_HOLD_MS

const COPY_HOLD_MS: 2500 = 2500

Defined in: state.ts:51

How long the canvas will hold blank waiting for the stream.

Armed when the REQUEST opens (openStream calls streamOpened before the fetch), so the fallback never paints ahead of a stream that is about to replace it. The slow-connect worry that once argued for arming against the connection instead is answered by the restart: copyStart restarts the budget ONCE when the stream proves it is alive, so a slow link still gets a full budget for delivery — without the blank window being extended per field.