Skip to main content

schedule_poll_completion

Function schedule_poll_completion 

Source
pub async fn schedule_poll_completion<P: Poll + 'static>(
    poll: P,
    ctx: Context,
    message_id: u64,
    duration_secs: u64,
)
Expand description

Schedule a poll to complete after its duration.