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

Returns true if 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 with reason if any entity is empty or in error.
hasAnyEmpty() → bool

Available on (BloomState, BloomState, BloomState), provided by the BloomStateRecord3Extension extension

Returns true if 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

Returns true if at least one entity in this tuple is in an error state (BloomState.hasError == true).