Function spawn_server_detached
pub fn spawn_server_detached<T, P, H>(
server_end: ServerEnd<T, P>,
handler: H,
) -> ServerSender<T, P>
Expand description
Creates a Server
from the given ServerEnd
and spawns it on the current fuchsia-async
executor.
The spawned server will handle any incoming requests with the provided handler.
Returns a ServerSender
for the spawned server.