Interface Evaluator<SubscriptionType>

Type Parameters

  • SubscriptionType

Hierarchy

  • Evaluator
  • A function that determines whether a new incoming value should reject or resolve the promise.

    Returns

    A truthy value if the promise should be rejected/resolved on this value. Return value is used as the reason in a rejected promise.

    Parameters

    • value: SubscriptionType

      A new incoming subscription value.

    Returns any