Weave Swarm
Topics
Construct a TopicId from bytes or text and call join(topic, JoinOptions).await.
Workflow and current contract
Construct a TopicId from bytes or text and call join(topic, JoinOptions).await. JoinOptions can select server-only/client-only behavior and maximum peers. leave borrows a topic ID.
A topic groups discovery and connections. It does not automatically authorize a peer to access every application resource, and joining is not equivalent to proving a completed data transfer. Observe connections and application acknowledgments independently.
Source reference
topicdeclarations —network/weave-swarm/src/topic.rs.swarmdeclarations —network/weave-swarm/src/swarm.rs.