The mutable version of a given SubscriptionSet. The MutableSubscriptionSet instance can only be used from inside the SubscriptionSet.update callback.

Hierarchy (view full)

Accessors

Methods

  • Remove a subscription with the given name from the SubscriptionSet.

    Parameters

    • name: string

      The name of the subscription to remove.

    Returns boolean

    true if the subscription was removed, false if it was not found.

  • Remove all subscriptions for the specified object type from the SubscriptionSet.

    Parameters

    • objectType: string

      The string name of the object type to remove all subscriptions for.

    Returns number

    The number of subscriptions removed.

Generated using TypeDoc