API reference > @kontsedal/olas-realtime
olas-realtime package
Functions
Function | Description |
|---|---|
Reactive connection-state signal — Backed by Every Useful for "stale-during-disconnect" UIs and as a refetch trigger when the connection comes back up: ts | |
Subscribe to Naming: the Buffer semantics (SPEC §16.5): - | |
Subscribe to
Handlers run inside A | |
Trigger The handler fires AFTER the transition is observed; it does NOT fire on the initial A resume that moves the state from |
Type Aliases
Type Alias | Description |
|---|---|
A realtime transport's connection state, as | |
Live-streaming buffer over a single realtime channel. Pause/resume controls the subscription (not the buffer — already-buffered events are preserved across a pause). **Events that arrive DURING a pause are lost:** | |
Live-stream options. | |
Map of The | |
Slice of | |
Per-event callback handed to | |
Consumer-implemented realtime transport. The package ships no default — apps wire their own (WebSocket, Pusher, Supabase Realtime, etc.) and pass the implementation through ts | |
A handle returned by |