Type Definition kompact::JoinHandle

source ·
pub type JoinHandle<R> = Receiver<R>;
Expand description

A type of future returned from the spawn and spawn_off functions to await the completion of the spawned future.

This API currently does not support cancellation, but that feature may be added in a future API if needed.