ValuableCallback.microtask constructor

ValuableCallback.microtask(
  1. ValuableCallbackPrototype callback
)

A callback that schedule execution in the microtask queue, after a watched Valuable change

Once executed one time, this callback will schedule execution as a microtask when any watched Valuable fires an invalidation event.

Implementation

factory ValuableCallback.microtask(ValuableCallbackPrototype callback) =>
    _ValuableCallbackMicrotask(callback);