Skip to main content

@atala/prism-wallet-sdk / Exports / AgentMessageEvents

Interface: AgentMessageEvents

Table of contents

Methods

Methods

addListener

addListener(eventName, callback): void

Parameters

NameType
eventNameListenerKey
callbackEventCallback

Returns

void

Defined in

src/edge-agent/types/index.ts:133


emit

emit(eventName, data): void

Parameters

NameType
eventNamestring
dataany

Returns

void

Defined in

src/edge-agent/types/index.ts:135


removeListener

removeListener(eventName, callback): void

Parameters

NameType
eventNameListenerKey
callbackEventCallback

Returns

void

Defined in

src/edge-agent/types/index.ts:134