BloomStateRecord3Extension extension
Zero-cost compile-time extensions on 3-tuples of BloomState.
- on
Methods
-
allHaveData(
) → bool -
Available on (BloomState, BloomState, BloomState), provided by the BloomStateRecord3Extension extension
Returnstrueif all entities in this tuple hold a valid data payload (BloomState.hasData ==true). -
guarded(
[Object reason = BloomGuard.prerequisiteNotMet]) → BloomGuard -
Available on (BloomState, BloomState, BloomState), provided by the BloomStateRecord3Extension extension
Evaluates across all entities in this tuple, returning BloomGuard.pass if all have data, or BloomGuard.block withreasonif any entity is empty or in error. -
hasAnyEmpty(
) → bool -
Available on (BloomState, BloomState, BloomState), provided by the BloomStateRecord3Extension extension
Returnstrueif at least one entity in this tuple is in an empty state (BloomState.isEmpty ==true). -
hasAnyError(
) → bool -
Available on (BloomState, BloomState, BloomState), provided by the BloomStateRecord3Extension extension
Returnstrueif at least one entity in this tuple is in an error state (BloomState.hasError ==true).