cursorFromLastEventId
@forge/monorepo / backend/src / cursorFromLastEventId
Function: cursorFromLastEventId()
cursorFromLastEventId(
lastEventId):number
Defined in: backend/src/graphql/sse.ts:75
Parse a browser Last-Event-ID header into a resume cursor. Missing/invalid ⇒ 0 (from start).
Parameters
lastEventId
string | null | undefined
Returns
number