Function spawn_client_detached
pub fn spawn_client_detached<P, T, H>(
client_end: ClientEnd<P, T>,
handler: H,
) -> ClientSender<P, T>
Expand description
Creates a Client
from the given ClientEnd
and spawns it on the current fuchsia-async
executor.
The spawned client will handle any incoming events with handler
.
Returns a ClientSender
for the spawned client.