reconnectSnapshot
@forge/monorepo / backend/src / reconnectSnapshot
Function: reconnectSnapshot()
reconnectSnapshot(
input):Promise<{after:number;state:RunStreamState; }>
Defined in: backend/src/runtime/streaming.ts:38
The persisted snapshot a transport sends on connect: the projected state plus the cursor to resume streaming from. Built purely from the durable log, so it never disagrees with live deltas.
Parameters
input
log
runId
tenantId
Returns
Promise<{ after: number; state: RunStreamState; }>