sdk-js

@nevermined-io/sdk - v3.0.44 / EventEmitter

Interface: EventEmitter

Table of contents

Properties

Properties

subscribe

subscribe: (callback: () => Promise<void>, arg1: () => Promise<bigint>) => void

Type declaration

▸ (callback, arg1): void

Parameters
Name Type
callback () => Promise<void>
arg1 () => Promise<bigint>
Returns

void

Defined in

src/types/EventTypes.ts:17


unsubscribe

unsubscribe: (arg0: () => Promise<void>) => void

Type declaration

▸ (arg0): void

Parameters
Name Type
arg0 () => Promise<void>
Returns

void

Defined in

src/types/EventTypes.ts:18