Skip to content

Commit

Permalink
docs(pubsub): correct typo (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedraal authored Mar 3, 2024
1 parent 8daf3dc commit 7004b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/5.pubsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ icon: simple-icons:googlepubsub

# Pub / Sub

CrossWS supports native pub-sub API integration. A [peer](/guide/peer) can be subscribed to a set of named channels using `peer.subscribe(<name>)`. Messages can be published tro a channel using `peer.publish(<name>, <message>)`.
CrossWS supports native pub-sub API integration. A [peer](/guide/peer) can be subscribed to a set of named channels using `peer.subscribe(<name>)`. Messages can be published to a channel using `peer.publish(<name>, <message>)`.

> [!IMPORTANT]
> Native pub/sub is currently only available for [Bun](/adapters/bun) and [Node.js](http://localhost:4000/adapters/node#uwebsockets).
Expand Down

0 comments on commit 7004b3a

Please sign in to comment.