nervosnetwork / tentacle

A multiplexed p2p network framework that supports custom protocols
https://docs.rs/tentacle
MIT License
54 stars 24 forks source link

feat: Change channel api to immutable #265

Closed driftluo closed 4 years ago

driftluo commented 4 years ago
  1. Use atomic bool to avoid mutable API
  2. Replace unbound channel with a bound channel
  3. Add service control async API