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 (GIT hash 5a97c5766ea04e5412cbfaed4c53658737cd2e4b)