ZenGo-X / round-based-protocol

Driver for round-based protocols in Rust
Apache License 2.0
23 stars 17 forks source link

Thread pool support #2

Open survived opened 3 years ago

survived commented 3 years ago

Currently, AsyncProtocol runs blocking operations via spawn_blocking. It should be generalised by introducing new trait that can be implemented for users' thread pool.