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-08-15 12:02:22 GIT hash 301b5b75e77076d091b38f555473f9f0e31e5b5c built by fridi@fzen)