wait


function wait<Type>(x:Type!) -> Type

Wait on a future and return the result. When applied to futures, this is equivalent to the postfix ! operator, while when applied to non-futures, it is equivalent to the identity function.

Note

wait() is useful for generic types, which may or may not be futures.