Octra libraries - v2.0.0
    Preparing search index...

    Class SubscriptionManager<T>

    Type Parameters

    • T
    Index

    Constructors

    Methods

    • add subscription to the manager. Returns the id of the subscriptions

      Parameters

      • subscription: undefined | T

        subscription that shall be added

      • Optionaltag: string

        optional tag

      Returns number

      number

    • unsubscribes specific Subscription with specific id.

      Parameters

      • id: number

        id that is looked for

      Returns boolean

    • unsubscribes all subscriptions with a specific tag

      Parameters

      • tag: string

        name that is tagged to the subscription

      Returns boolean