Skip to main content

run

Function run 

Source
pub fn run(payload: &[u8]) -> Result<u64, String>
Expand description

Queue payload for the plugin’s background workers (manifest [background] workers, an error without any): one of them calls work(payload), and its result comes back through job-done with the returned handle. At most 1024 jobs wait at a time.