1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Macros that expand to `(expr).await`, its as simple as that.
//! 
//! Requires nightly Rust, 2019-05-08 or greater.

macro_rules! gen_macro {
    ($($i:ident,)+) => {
        $(
            #[macro_export]
            macro_rules! $i {
                ($e:expr) => {
                    $e.await
                }
            }
        )+
    };
}

gen_macro! {
    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,
}