BatchNotifyFunction typedef Managers

BatchNotifyFunction = void Function(void callback())

Wraps the delivery of a whole batch: must call the callback it is given exactly once. Install one with NotifyManager.setBatchNotifyFunction — in a UI framework, to apply every update of a batch in one frame. The default calls it directly.

Implementation

typedef BatchNotifyFunction = void Function(void Function() callback);