I wanted to fish for better ideas on how to make a resetable timer. A timer that can be reset to its original (or some new value) if called while running. In C++ I’d do something like this:
GetWorld()->GetTimerManager().SetTimer(TimerHandle, this, &Class::Function, Time, false);
Here’s the seemingly obvious implementation I came up with.
// Some control variable defined somewhere !reset? : false // The timer coroutine loop [ race [ _wait(timer_duration) reset?._wait_true(0) ] [exit] when not reset? reset? := false ]