Interface representing the Relay API, providing control and information about the GossipSub protocol.
The GossipSub instance used for managing pub/sub behavior.
Function to start the relay, returning a Promise that resolves when initialization is complete.
Function to retrieve the mesh peers for a given topic or all topics if none is specified. Returns an array of peer IDs as strings.
Optional
Readonly
Generated using TypeDoc
Interface representing the Relay API, providing control and information about the GossipSub protocol.
Property
The GossipSub instance used for managing pub/sub behavior.
Property
Function to start the relay, returning a Promise that resolves when initialization is complete.
Property
Function to retrieve the mesh peers for a given topic or all topics if none is specified. Returns an array of peer IDs as strings.