Skip to content

SyncEventListener

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / SyncEventListener

SyncEventListener = object

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23784

Sync event listener

optional onProgress?: (event) => void

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23785

SyncProgressEvent

void


optional onComplete?: (event) => void

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23786

SyncCompletionEvent

void


optional onError?: (error, chainId) => void

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23787

Error

ChainId

void


optional onNotesFound?: (notes, chainId) => void

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23788

EncryptedNote[]

ChainId

void