Skip to main content

SSE_COMPLETE_FRAME

@forge/monorepo


@forge/monorepo / backend/src / SSE_COMPLETE_FRAME

Variable: SSE_COMPLETE_FRAME

const SSE_COMPLETE_FRAME: "event: complete\ndata: \n\n"

Defined in: backend/src/graphql/sse.ts:63

The terminating frame.

graphql-sse's distinct-connections mode uses event: complete to say the response is finished. A stream that simply stops is indistinguishable from a truncated one, and a client cannot tell whether to reconnect.