pub fn spawn_stream_handler<P, F, Fut>(f: F) -> P
Expand description
Utility that spawns a new task to handle requests of a particular type. The request handler must be threadsafe. The requests are handled one at a time.
pub fn spawn_stream_handler<P, F, Fut>(f: F) -> P
Utility that spawns a new task to handle requests of a particular type. The request handler must be threadsafe. The requests are handled one at a time.