Function spawn_client_detached
pub fn spawn_client_detached<T, P, H>(
client_end: ClientEnd<T, P>,
handler: H,
) -> ClientSender<T, P>
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.