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
topic: stringReadonly
gossipThe GossipSub instance used for managing pub/sub behavior.
Readonly
pubsubFunction to start the relay, returning a Promise that resolves when initialization is complete.
Interface representing the Relay API, providing control and information about the GossipSub protocol.