Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/docs/examples/gossip-chat/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ Now, when you run your code, you should see something like this:

## Creating a Command-Line Interface

Here is where things get fun. We know how to create, join, and send and receive on a `Topic`. We also know how to get other to join that `Topic`. This has now created two different "roles" an endpoint can have: a topic "creator" and a topic "joiner". One side "creates" the topic and the ticket, and the other side takes the ticket and uses it to join the topic and connect to the ticket creator.
Here is where things get fun. We know how to create, join, and send and receive on a `Topic`. We also know how to get others to join that `Topic`. This has now created two different "roles" an endpoint can have: a topic "creator" and a topic "joiner". One side "creates" the topic and the ticket, and the other side takes the ticket and uses it to join the topic and connect to the ticket creator.

To "join", we will need to pass in a `Ticket` as a command line argument. There is a great rust crate called `clap` that takes care of much of the CLI boiler plate for you.

Expand Down
Loading