@jetjs/core
class DefaultPluginLoader
Default Loading Strategy for Plugins: Assume that all plugins loaded before Parsing will be started.
Properties
Property | Type | Description |
---|---|---|
NAME | string |
Methods
Method | Return | Description |
---|---|---|
getStrategyName() | string | |
init(registry) | void | |
isLoaded(plugin) | boolean | |
load(plugin) | Promise |
Property Details
-
NAME Property
Signature:static NAME: string;
Method Details
-
getStrategyName() Method
Signature:getStrategyName(): string;
Returns:string
-
init(registry) Method
Signature:init(registry: PluginRegistry): void;
Returns:void
Parameter Type Description registry PluginRegistry
-
isLoaded(plugin) Method
Signature:isLoaded(plugin: PluginName): boolean;
Returns:boolean
Parameter Type Description plugin PluginName
-
load(plugin) Method
Signature:load(plugin: PluginName): Promise<never>;
Returns:Promise
Parameter Type Description plugin PluginName