pub fn send_message_on<T, U>(
handle: GenServerHandle<T>,
future: U,
message: T::CastMsg,
) -> JoinHandle<()>Expand description
Spawns a task that awaits on a future and sends a message to a GenServer on completion. This function returns a handle to the spawned task.