Package | Description |
---|---|
bayou.async |
Async programming model.
|
Modifier and Type | Method and Description |
---|---|
static <T1,T2,R> Async<R> |
Async.invoke_(BiFunctionX<T1,T2,Async<R>> func,
Async<T1> async1,
Async<T2> async2)
Similar to
Async.invoke(bayou.util.function.BiFunctionX, Async, Async) ,
except that `func` returns `Async<R>` instead. |
static <T1,T2,R> Async<R> |
Async.invoke(BiFunctionX<T1,T2,R> func,
Async<T1> async1,
Async<T2> async2)
Invoke `func` with async args.
|
default <R> Async<R> |
AsyncIterator.reduce_(R r0,
BiFunctionX<R,T,Async<R>> func)
Similar to
reduce() , except func returns Async<R> instead of R. |
default <R> Async<R> |
AsyncIterator.reduce(R r0,
BiFunctionX<R,T,R> func)
Compute a value from the elements.
|