Skip to content
function applyEvent(s, e): SessionState;

Defined in: react/src/apply-event.ts:182

Pure reducer. Returns s unchanged for an event whose sequence is not newer than s.lastSequence, which makes replays and reconnect overlaps idempotent.

Parameter Type
s SessionState
e UncageEvent

SessionState