Skip to main content

worker_post

Function worker_post 

Source
pub fn worker_post(data: &[u8]) -> i32
Expand description

Send a message from inside a worker back to the parent that spawned it.

Returns 0 on success, -1 if not running inside a worker.