Top Level Namespace
Defined in:
Macro Summary
-
async(method)
Method prefix which creates 2 version of your method, a sync and asyc variant.
-
await(method)
Wait for a future to return.
Macro Detail
macro async(method)
#
Method prefix which creates 2 version of your method, a sync and asyc variant.
The async variant will have the given method name, while the sync variant will
be postfixed _sync
.
macro await(method)
#
Wait for a future to return. Raises Async::UncaughtException
if an
exception occurs within.