Skip to main content

create

Function create 

Source
pub async fn create<P, F, Fut>(pid_path: P, server_hook: F)
where P: AsRef<str>, F: Fn() -> Fut + Send + Sync + 'static, Fut: Future<Output = ()> + Send + 'static,