A Mutex for the Future(s)
Add this to your Cargo.toml
:
toml
[dependencies]
futures-mutex = "0.1.0"
Then, add this to your crate:
rust
extern crate futures-mutex;
FutMutex<T>
follows a very similar API to futures::sync::BiLock
, however it can have more than two handles.
futures-mutex
is distributed under the GNU GPLv3. See the LICENSE file for
the full text of the license.