pub fn spawn_preinit<P, S, R, E, RV>(
    server: Server<P, S, R, E>,
    handler: impl Handler<P, S, R, E, RV> + Send + 'static
) -> JoinHandle<Option<RV>>
where P: 'static + Send, S: 'static + Send, R: 'static + Send, E: 'static + Send, RV: 'static + Send,
Available on crate feature tokio only.
Expand description

Spawn a task to run a pre-initialized handler.

It is assumed that the caller has initialized the handler, thus its init() method will not be called.