pub fn create_worker<'a>() -> (WorkerHandle, Worker<'a>)
Expand description
Create both worker(!Send
) and worker handle(Send + Sync
)
pub fn create_worker<'a>() -> (WorkerHandle, Worker<'a>)
Create both worker(!Send
) and worker handle(Send + Sync
)