[][src]Function gotham::start_on_executor

pub fn start_on_executor<NH, A>(
    addr: A,
    new_handler: NH,
    executor: TaskExecutor
) where
    NH: NewHandler + 'static,
    A: ToSocketAddrs + 'static, 

Starts a Gotham application with a designated backing TaskExecutor.

This function can be used to spawn the server on an existing Runtime.