PrevUpHomeNext

DeadlineTimer::setExpiration

Set the timer to go off once in the future.

Synopsis
void
setExpiration(
    duration delay);
Description

If the timer is already active, this will reset it.

Remarks

If the timer is already active, the old one might go off before this function returns.

Parameters

Name

Description

delay

duration until the timer will send a notification. This must be greater than zero.


PrevUpHomeNext