Function create

Source
pub async fn create<F, Fut>(func: F)
where F: FnOnce() -> Fut, Fut: Future<Output = Result<(), Error>>,