aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/examples/pubsub_client.rs
Commit message (Collapse)AuthorAgeFiles
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-291
| | | | new tasks
* jsonrpc/client: close the subscription channel when calling unsubscribehozan232024-06-221
|
* jsonrpc/client: fix subscription error when the subscriber cannot keep uphozan232024-06-211
| | | | | | Add a limit for receiving notifications for the subscription. If this limit is exceeded, the client will stop and raise an error. The limit is configurable when building a new client.
* jsonrpc: client use unbounded channels as buffer for sending requests & ↵hozan232024-06-141
| | | | clean up examples
* jsonrpc/server: use queue with condvar instead of async channelshozan232024-05-301
|
* jsonrpc: support pubsubhozan232024-05-221