Primitives / foldkit-primitives/net
viewOfSse
function · packages/primitives/src/net/sse.ts:62
function viewOfSse(model: SseModel, wanted: boolean): SseViewThe view of a stream, and whether its page still wants it. An error stands until the page stops wanting the stream; a retry still waiting for its stream reads as connecting, so it answers at once.