applyEvent
View as Markdownfunction 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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
s |
SessionState |
e |
UncageEvent |