Container for an instance of an extension of the specified type.

Type Parameters

Hierarchy

  • IExtensionInstance

Implemented by

Properties

extensionName: string

Name of the extension instance of the specified type.

extensionType: string

Name of the extension instance type.

order: number

The order of execution, taking into account the type of extension and the stage of execution.

singleton: boolean

Flag indicating the lifetime of an instance of extensions. If `true', then the lifetime of the extension instance will coincide with the lifetime of the maintainer.

The stage of extension execution in the extension chain.

Array of functions accepting the context of extensions execution and allowing extensions to be performed only under certain conditions.

Methods

  • Releases all related objects.

    Returns void

  • Returns an instance of an extension of the specified type.

    Returns E

  • Returns an instance of an extension of the specified type.

    Returns Promise<E>

Generated using TypeDoc