[][src]Function lavish::spawn

pub fn spawn<CL, AH, H, P, NP, R>(
    handler: AH,
    conn: Box<dyn Conn>
) -> Result<Runtime<CL>, Error> where
    CL: Clone,
    AH: Into<Arc<H>>,
    H: Handler<CL, P, NP, R> + 'static,
    P: Atom,
    NP: Atom,
    R: Atom