Module

Specular.Internal.Incremental.Global

Package
purescript-specular
Repository
restaumatic/purescript-specular

#StabilizationNum Source

#stabilizationIsNotInProgress Source

stabilizationIsNotInProgress :: StabilizationNum

A sentinel value for StabilizationNum meaning that stabilization is not in progress.

#globalLastStabilizationNum Source

globalLastStabilizationNum :: Ref StabilizationNum

Number of the last started stabilization. Used as logical timestamp in Node.changedAt.

The timestamp starts at 0.

#globalCurrentStabilizationNum Source

globalCurrentStabilizationNum :: Ref StabilizationNum

globalCurrentStabilizationNum has the value:

  • if stabilization is in progress, then same as globalLastStabilizationNum
  • otherwise -1 (which is different than any stabilization number).

This is used in isChangingInCurrentStabilization.

#globalTotalRefcount Source

globalTotalRefcount :: Ref Int

Total refcount of all nodes, for leak checking.