feature(async): docs and minor tokio similarity fixes
Relates to #22 (closed)
- Added docs for all async primitives. Mostly docs are based on tokio, with some corrections to account for fibers.
- Added a couple of functions and changed type signatures in some - again to make more similar to tokio
- Added
subscribe
to tests - Moved pub modules for channels and timeout into separate files
Initially we also planned to use tokio tests, but they cannot be integrated into our codebase as they heavily rely on environment being multithreaded and therefore write one big test for each primitive and run it with loom
Edited by Егор Ивков