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.098dev (GIT hash b44352b4c68decbc58a097b291a1c8f3a5a05486)
last changed: 2026-07-03