Documentation for method cue
Documentation for method cue, assembled from the following types:
method cue(:, Instant :, :, :, : = 1; :)
Schedules a callable (
&code) for execution. The adverbs control when and how the code is run:
$at can be an Instant before which the code won't be run. Alternatively
$in is the number of seconds (possibly fractional) to wait before running the code. If
$at is in the past or
$in is negative, the delay is treated as zero. Implementations may equate to zero very small values (e.g. lower than 0.001s) of
$in or result of
$at - now.
$every is specified, it is interpreted as the number of seconds (possibly fractional) to wait before re-executing the code. Implementations may treat too-small values as lowest resolution they support, possibly warning in such situations; e.g. treating
$times tells the scheduler how many times to run the code.
&catch is called with the Exception as its sole argument if