Module

Perspectives.RunMonadPerspectivesTransaction

#runMonadPerspectivesTransaction

runMonadPerspectivesTransaction :: forall o. MonadPerspectivesTransaction o -> (MonadPerspectives (Array o))

Runs an update function (a function in MonadPerspectivesTransaction that produces deltas), runs actions as long as they are triggered, sends deltas to other participants and re-runs active queries

#assumptionsInTransaction

assumptionsInTransaction :: Transaction -> Array Assumption

Derive Assumptions from the Deltas in a Transaction. Each Assumption in the result is unique.

#runActions

runActions :: Transaction -> MonadPerspectivesTransaction Transaction

Execute every ActionInstance that is triggered by changes in the Transaction. Repeat this recursively, accumulating Deltas in a single Transaction that is the final result of the process.

Modules