@usine/engine/trigger-condition
Classes
Section titled “Classes”TriggerCondition
Section titled “TriggerCondition”Re-evaluates a Loop’s trigger against an Item’s current state. The engine
consults it for a queued Event when the Run ahead of it closes: the poll
that recorded the Event may predate that Run’s own writes, such as the
label swap a finisher makes after its push. false records the Event as
ignored (revoked) and opens nothing; true opens its Run as usual. An
adapter that cannot tell answers true, so the Run opens as it did before
the check existed.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object
The service’s operations: what yield* TriggerCondition returns.
readonlyholds: (submission) =>Effect.Effect<boolean>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
submission |
Submission |
Returns
Section titled “Returns”Effect.Effect<boolean>