Function sp_tasks::spawn [−][src]
pub fn spawn(
entry_point: fn(_: Vec<u8>) -> Vec<u8>,
data: Vec<u8>
) -> DataJoinHandle
Expand description
Spawn new runtime task (native).
pub fn spawn(
entry_point: fn(_: Vec<u8>) -> Vec<u8>,
data: Vec<u8>
) -> DataJoinHandle
Spawn new runtime task (native).