geam/future
Compose work from Rust async functions. The Rust application hosting Geam drives that work and reads its shared result.
These operations are currently implemented by Geam. Erlang and JavaScript implementations are not currently available.
Types
Values
pub fn all(values: List(Future(a))) -> Future(List(a))
Drives the supplied work together and keeps results in input order.
pub fn map(value: Future(a), callback: fn(a) -> b) -> Future(b)
Transforms the result when the Rust host drives the returned Future.
pub fn ready(value: value) -> Future(value)
Creates a Future whose result is already available.