IFClite TypeScript API
    Preparing search index...

    Class ActivationDispatcher

    Index
    • Fire an activation event. Returns the list of extension ids that were activated by this fire (in deterministic order). Re-firing the same event activates only the not-yet-activated extensions tied to it.

      Parameters

      Returns Promise<string[]>

    • True iff the extension has been activated this session.

      Parameters

      • extensionId: string

      Returns boolean

    • All currently-registered extension ids.

      Returns string[]

    • Subscribe a listener that runs when an extension should be activated. Listeners are invoked sequentially per extension so the caller can rely on awaiting completion before the next listener runs. Returns an unsubscribe function.

      Parameters

      Returns () => void

    • Register an extension with its activation events. Replaces any previous registration for the same id.

      Parameters

      Returns void

    • Reset the "already activated" flag — used by tests and on flavor switch.

      Parameters

      • OptionalextensionId: string

      Returns void

    • Parameters

      • extensionId: string

      Returns void