Unverified Commit 961e6bd5 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

[examples]: update pubsub examples (#705)

* update pubsub examples

* Update examples/ws_subscription.rs

* remove some docs

* remove needless clone

* simplify example

* simplify code with async-broadcast channel

* use tokio broadcast for smaller dependency tree

* Update examples/ws_pubsub_broadcast.rs
parent 34c2fbef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment