Skip to content
Commit 36e580a5 authored by Sebastian Kunert's avatar Sebastian Kunert Committed by GitHub
Browse files

Introduce RPC Worker (#1462)



* Extract json-rpc-client and introduce worker

* Initial rpc worker

* Add error handling

* Use bounded channels for listeners

* Improve naming and clean up

* Use tracing channels

* Improve code readability

* Decrease channel size limit

* Remove unused dependency

* Fix docs

* RPC -> Rpc

* Start worker in initialization method

* Print error in case a distribution channel is full

* Fix docs

* Make `RpcStreamWorker` private

Co-authored-by: default avatarDavide Galassi <[email protected]>

* Use tokio channels and add TODO item

* Remove `Option` from `to_worker_channel`

Co-authored-by: default avatarDavide Galassi <[email protected]>
parent f0a8dc6a
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