Crates.io | promising-future |
lib.rs | promising-future |
version | 0.2.4 |
source | src |
created_at | 2015-09-24 19:30:37.44466 |
updated_at | 2016-05-25 20:52:55.280975 |
description | Implementation of Promise/Future pairs. |
homepage | |
repository | https://github.com/jsgf/promising-future |
max_upload_size | |
id | 3101 |
size | 66,214 |
This crate implements Promise
s and Future
s, where a Future
represents an unknown value, and a Promise
determines what that
value is.
It also provides FutureStream
which allows multiple Future
s to be
waited on, yielding values as they become available.
While this could be seen as a "yet another" crate, the API both simpler and more general than other implementations of Futures, and more easily composable.
Documentation is available here.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.