later ( quot delay-duration -- timer )
Timers

Prev:every ( quot interval-duration -- timer )
Next:delayed-every ( quot duration -- timer )


Vocabulary
timers

Inputs
quota quotation
delay-durationa duration


Outputs
timera timer


Word description
Sleeps for duration and then calls a quot. The user may cancel the timer before quot runs. This timer is not repeated.

Examples
USING: timers io calendar ; [ "Break's over!" print flush ] 15 minutes later drop


Definition


: later ( quot delay-duration -- timer ) f (start-timer) ;