pub async fn drive_process(main: Coroutine) -> i32Expand description
Drive the process entry and all its workers on the same executor task. The group and its workers are dropped before this future returns. A suspended coroutine, main or worker, is cancelled: its frames are discarded and its stack freed. What the process owns lives in the host state, which the caller releases afterwards.