@jetjs/core

class DefaultPluginLoader

Default Loading Strategy for Plugins: Assume that all plugins loaded before Parsing will be started.

Properties

PropertyTypeDescription
NAME
string

Methods

MethodReturnDescription
getStrategyName()
string
init(registry)
void
isLoaded(plugin)
boolean
load(plugin)
Promise

Property Details

Method Details

  • getStrategyName() Method

    Signature:
    getStrategyName(): string;
    Returns:
    string
  • init(registry) Method

    Signature:
    init(registry: PluginRegistry): void;
    Returns:
    void
    ParameterTypeDescription
    registry
    PluginRegistry
  • isLoaded(plugin) Method

    Signature:
    isLoaded(plugin: PluginName): boolean;
    Returns:
    boolean
    ParameterTypeDescription
    plugin
    PluginName
  • load(plugin) Method

    Signature:
    load(plugin: PluginName): Promise<never>;
    Returns:
    Promise
    ParameterTypeDescription
    plugin
    PluginName