Triggered by executeAll just before calling execute on a plugin
Register to this event by using container.on('plugin-before-execute', ...)
Triggered by executeAll when there is an exception in one of the plugins executions.
Register to this event by using container.on('plugin-exception', ...)
Triggered by executeAll right after a plugin's execute call finish.
Register to this event by using container.on('plugin-success', ...)
Executes all the plugins (see IPlugin.execute, in order of priority passing the data returned by previous plugin as input of the next plugin, if any. If a plugin throws an exception pluginException will be emitted.
the output, if any
add given plugin instance in this container
Remove an given plugin instance or plugin with given name from this container
Generated using TypeDoc
The PluginContainer pattern is very similar to events listeners pattern but designed to let listeners hook more appropriately into some processing. One or more Plugin objects are installed into a PluginContainer and the owner of the container runs container.executeAll() Registered plugins will be then executed by priority order and if any input is passed it will transformed