Skip to content

API reference > @kontsedal/olas-realtime > RealtimeHandler

RealtimeHandler type ​

Per-event callback handed to RealtimeService.subscribe.

Signature:

typescript
export type RealtimeHandler<TEvent> = (event: TEvent) => void;

Released under the MIT License.