tokio compatibility #3
Replies: 1 comment 6 replies
-
great idea! i have tried in the past to make this library work with async because zmq is mostly I/O and technically does not need one thread per subscriber, but just smashing an async runtime (i tried tokio) on it did not work (obviously, but i was exploring async Rust for the first time then) as it blocked the executor. i just looked around again and found https://github.com/rdelfin/async-zmq, this also does not force a specific async runtime upon users. |
Beta Was this translation helpful? Give feedback.
-
I working on this PR to
braidpool
.Since
braidpool
project is usingtokio
, I forkedrust-bitcoincore-zmq
intotokio-bitcoincore-zmq
.I was wondering if this is a desirable feature for the upstream crate?
Beta Was this translation helpful? Give feedback.
All reactions