Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

run_once

time.Clock.run_once

(t time.this.instant, code Function unit)
 => 
bool
[Abstract feature]
run the given code once at the provided instant within the current thread

In case the instant is in the past, do not run the code. In case the instant is
in the future, wait until this clock reached the time specified by instant.

return true if the code was actually run, false if the given time `t` is already
in the past.
0.095dev (2025-10-09 18:01:25 GIT hash 4826e516431c193e428991dd546a46472973d8d4 built by fridi@fzen)