async

Evaluates task in a new fiber, and returns a promise which is fulfilled when task exits. task may use await to block on other promises.

Promise!(T, E)
async
(
T
E = Exception
)
(
lazy T task
)

Meta