Function darkfi::system::run_until_completion
source ยท pub async fn run_until_completion<'a, R: Send + 'a, F: Future<Output = R> + Send + 'a>(
func: F,
executor: Arc<Executor<'a>>,
) -> R
Expand description
Run a task until it has fully completed, irrespective of whether the parent task still exists.