Skip to content
Snippets Groups Projects
Commit 7b22c4df authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

feat(network): add methods for requesting arbitrary rpc to ConnectionPool

`PoolWorker` is majorly reworked and now supports executing various
requests asynchronously. The caller is notified of the request's outcome
via callback. The connection is dropped on error only if there are no
requests awaiting response (or timeout).

`ConnectionPool` now has
- methods `call_and_wait`/`call_and_wait_timeout` which yield
- method `call` which doesn't yield but accepts a callback
parent 84247d8a
No related branches found
No related tags found
1 merge request!259feat(network): arbitrary sync/async rpc requests
Pipeline #12221 canceled
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment