[][src]Macro bastion::spawn

macro_rules! spawn {
    ($action:expr) => { ... };
    ($($tokens:tt)*) => { ... };
}

Spawn a given future onto the executor from the global level.

Example

let handle = spawn! {
    panic!("test");
};
run!(handle);