public final class SchedulerUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
pauseUntilRenderLoopComplete()
The first time an react4j view is rendered it will lock the Arez scheduler and release
the lock in the micro-task immediately following the task that prompted the render.
|
public static void pauseUntilRenderLoopComplete()
NOTE: While render methods are read-only transactions, they can un-observe components with
ArezComponent.disposeOnDeactivate()
set to true
that would result in the
arez component being disposed and triggering an update that would mark particular React
view/Observers as STALE and trigger a re-render of that view.