Events
Static variables
Static methods
staticinlineunobserve():Void
Ensures current autorun
won't be affected by the code after this call.
reobserve()
should be called to restore previous state.
staticinlinereobserve():Void
Resume observing values and resume affecting current autorun
scope.
This should be called after an unobserve()
call.
staticunobserved(func:() ‑> Void):Void
Executes the given function synchronously and ensures the
current autorun
scope won't be affected
Constructor
new(onRun:() ‑> Void, ?afterRun:() ‑> Void)
Initialize a new autorun.
Parameters:
onRun | The callback that will be executed and used to compute implicit bindings |
---|---|
afterRun | (optional) A callback run right after |