The current core instance for the request
Create a new context using the core and config from the current instance, returns a new instance of the same type
Optional
plugins: ITelemetryPluginChain | IPlugin[]The execution order to process the plugins, if null or not supplied then the current execution order will be copied.
Optional
startAt: IPluginThe plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.
THe current diagnostic logger for the request
Gets the current core config instance
Gets the named config from either the named identifier extension or core config if neither exist then the default value is returned
The named extension identifier
The config field name
Optional
defaultValue: The default value to return if no defined config exists
Gets the named extension config
Returns the next configured plugin proxy
Helper to allow plugins to check and possibly shortcut executing code only required if there is a nextPlugin
Synchronously iterate over the context chain running the callback for each plugin, once every plugin has been executed via the callback, any associated onComplete will be called.
Set the function to call when the current chain has executed all processNext or unloadNext items.
The onComplete to call
Optional
that: anyThe "this" value to use for the onComplete call, if not provided or undefined defaults to the current context
Rest
...args: any[]Any additional arguments to pass to the onComplete function
This Plugin has finished unloading, so unload the next one
The update State
boolean (true) if there is no more plugins to process otherwise false or undefined (void)
Helper to set the next plugin proxy
The current context for the current call to the plugin update() implementations, used to support the notifications for when plugins are added, removed or the configuration was changed.