await_macros
UPDATE (2019-05-09): The crate now expands on nightly! Be sure you have at least the 2019-05-08 nightly to use the crate. It will error on stable, so uh, don't try to use it on stable yet :)
A bunch of macros that literally only expand to (expr).await
as an alternative to the postfix syntax. Have fun!
Current list of macro names are:
avait!
avvait!
back_to_the!
divine!
avast!
anticipate!
hope!
foresee!
envision!
doubt!
predict!
be_afraid!
count_on!
prophesize!
foretell!
wait_up!
hey_give_that_back!
aweight!
hold_up!
presume!
pls_gib!
now_becomes_the!
ayywait!
r#await!
predestined!
kismet!
godot!
wait!
aqait!
Example
use back_to_the;
License
await_macros
is licensed under both MIT and Apache 2.0