schedule_timer_for_current_task

Function schedule_timer_for_current_task 

Source
pub fn schedule_timer_for_current_task(
    _cx: &Context<'_>,
    timer: &Timer,
    delay: Duration,
) -> Option<u64>
Expand description

Schedules a timer for the task currently being polled by the active worker.