Skip to content

SyncEventListener

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / SyncEventListener

SyncEventListener = object

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23748

Sync event listener

optional onProgress?: (event) => void

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23749

SyncProgressEvent

void


optional onComplete?: (event) => void

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23750

SyncCompletionEvent

void


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

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23751

Error

ChainId

void


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

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23752

EncryptedNote[]

ChainId

void