Function gotham::start_on_executor
source · pub fn start_on_executor<NH, A>(addr: A, new_handler: NH, executor: TaskExecutor)where
NH: NewHandler + 'static,
A: ToSocketAddrs + 'static,
Expand description
Starts a Gotham application with a designated backing TaskExecutor
.
This function can be used to spawn the server on an existing Runtime
.