@nymproject/sdk • Docs
@nymproject/sdk / EventKinds
Enumeration: EventKinds
Enum representing various event kinds.
Enumeration Members
Loaded
Loaded:
"Loaded"
The event emitted when the nodetester is ready to be used.
Source
mixnet/wasm/types.ts:206 (opens in a new tab)
Connected
Connected:
"Connected"
The event emitted when connection to the gateway is established.
Source
mixnet/wasm/types.ts:211 (opens in a new tab)
StringMessageReceived
StringMessageReceived:
"StringMessageReceived"
The event for when a message is received and interpreted as a string.
Source
mixnet/wasm/types.ts:216 (opens in a new tab)
BinaryMessageReceived
BinaryMessageReceived:
"BinaryMessageReceived"
The event for when a binary message is received. BinaryMessage is a type of message that contains additional metadata, such as MIME type and some headers, along with the actual payload data.
Source
mixnet/wasm/types.ts:221 (opens in a new tab)
RawMessageReceived
RawMessageReceived:
"RawMessageReceived"
The event for when a raw message is received. RawMessage represents the bytes that are received directly from the mixnet with no further parsing or interpretation done on them.