dbos 0.6.0

Lightweight durable workflows on Postgres
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The `async-global-executor` backend: a global executor over `async-executor`, like smol's own,
//! and the one async-std ran on. Timers come from `async-io`, since it has none of its own.

use std::future::Future;

pub(super) fn spawn_detached<F>(task: F)
where
    F: Future<Output = ()> + Send + 'static,
{
    async_global_executor::spawn(task).detach();
}