yorkie-js-sdk

Home > yorkie-js-sdk > ClientEvent

ClientEvent type

ClientEvent is an event that occurs in Client. It can be delivered using Client.subscribe().

Signature:

export declare type ClientEvent<M = Indexable> = StatusChangedEvent | DocumentsChangedEvent | PeersChangedEvent<M> | StreamConnectionStatusChangedEvent | DocumentSyncedEvent;

References: Indexable, StatusChangedEvent, DocumentsChangedEvent, PeersChangedEvent, StreamConnectionStatusChangedEvent, DocumentSyncedEvent