WaitForcallscheckeveryintervalms (default 0, every frame) until it returns a truthy value, for at mosttimeoutms (default 5000).okis false on timeout. MUST run in a thread.Timeoutrunsfnaftermsand returns a function that cancels it.Debouncereturns a function that runsfnonce calls stop forms, with the arguments of the last call.Throttlereturns a function that runsfnat most once perms. The first call runs at once, calls in between are dropped.
UgLib.Async
Wait for a condition, delay, debounce and throttle.
Shared Runs in your resource.