Module dht_event

Source
Expand description

DHT allows callers to subscribe to receive realtime events via a channel. This module contains the enums/structs for the events.

Structs§

DHTEvent
Top-level message that DHT will send to callers that subscribe to events.
MessageReceivedEvent
This struct is used when DHT receives a message from another node on the DHT.

Enums§

DHTEventType
Enum that represents the different types of events that can be sent from the DHT.