pub fn evaluate(
condition: &ResumeCondition,
by_wp: &SignalsByWaitpoint<'_>,
) -> boolExpand description
Evaluate a ResumeCondition against the set of signals
delivered so far. Returns true iff the condition is satisfied.
signals is the full ordered list of ResumeSignals recorded
against this suspension’s member_map. The function walks the
declarative tree; it does NOT mutate inputs. Caller is responsible
for reading the satisfied-signals view from
ff_suspension_current.member_map under a SERIALIZABLE txn.
§Semantics (RFC-013 §2.4 + RFC-014 §2.1)
Single { waitpoint_key, matcher }—trueiff at least one signal targetingwaitpoint_keymatchesmatcher.OperatorOnly—false(only an explicit operator resume satisfies this condition; not reachable through this evaluator).TimeoutOnly—false(timeout-only suspensions resolve viatimeout_behaviorattimeout_at, not via signals).Composite(AllOf { members })—trueiff everymemberevaluatestrue.Composite(Count { n, count_kind, matcher, waitpoints })—trueiff at leastndistinct satisfiers (bycount_kind) match across signals targetingwaitpointsand (optionally) matchingmatcher.