Stick code to a single runtime (#364)
* Stick test code to a single runtime
* Replace async-std in ws-client with tokio
* Replace std::thread::sleep with tokio::time::sleep in test
* Add compatibility layer for tokio v0.2
* Add check for both features being enabled + some improvements
* Update ws-client/src/tokio.rs
Co-authored-by: Niklas Adolfsson <[email protected]>
parent
5aeed02d
Please register or sign in to comment