/futures-mutex

A Mutex for the Future(s)

Primary LanguageRustApache License 2.0Apache-2.0

futures-mutex

A Mutex for the Future(s)

Crates.io Docs.rs

Usage

Add this to your Cargo.toml:

[dependencies]
futures-mutex = "0.2.0"

Then, add this to your crate:

extern crate futures_mutex;

FutMutex<T> follows a very similar API to futures::sync::BiLock, however it can have more than two handles.

License

futures-mutex is distributed under the Apache License v2.0. See the LICENSE file for the full text of the license.