Skip to main content

EventEmitter

@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
NameType
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
NameType
arg0() => Promise\<void>
Returns

void

Defined in

src/types/EventTypes.ts:18