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.
wait() is useful for generic types, which may or may not be futures.