JS API Reference

Interface: GolemNetworkEvents

golem-network/golem-network.GolemNetworkEvents

Table of contents

Properties

Properties

connected

connected: () => void

Fires when all startup operations related to GN are completed

Type declaration

▸ (): void

Returns

void

Defined in

src/golem-network/golem-network.ts:151


error

error: (error: Error) => void

Fires when an error will be encountered

Type declaration

▸ (error): void

Parameters
NameType
errorError
Returns

void

Defined in

src/golem-network/golem-network.ts:154


disconnected

disconnected: () => void

Fires when all shutdown operations related to GN are completed

Type declaration

▸ (): void

Returns

void

Defined in

src/golem-network/golem-network.ts:157