interface Futurethefrontside/effection
interface Future<T> extends Operation<T>, Promise<T>
A value that is both an Operation and Promise
.
Futures are operations that are implicitly associated with an Effection scope
and so they can be freely await
ed within any async functions. However, they
can also be evaluated directly within another operation, so among other
things, if the operation resolves synchronously, it will continue within the
same tick of the run loop.
Type Parameters
T