Module

Perspectives.GlobalState

#clearEffectulFunctionCaches

clearEffectulFunctionCaches :: MonadPerspectives Unit

CLEARING STATE OUTSIDE PERSPECTIVESSTATE Some state is kept outside PerspectivesState, to preventy cyclic type dependencies. Even though this state is defined in other modules, we have a function here to clear it.

The other caches are:

  • ActionCache, that stores compiled Action rules;
  • ActiveSupportedEffects, that stores effectful functions to implement the FRP pattern for clients of the Perspectives Distributed Runtime

Modules