macro_rules! spawn { ($future:expr) => { ... }; ($priority:expr, $future:expr) => { ... }; }
Expand description
Spawn a future on the default MainContext
This was taken from gtk-macros
but allows setting optionally the priority
FIXME: this should maybe be upstreamed