Home > @uniformdev/context > ContextOptions > plugins
ContextOptions.plugins property
Context plugins to load at initialize time. Plugins that hook to the log event should be added here so that they can catch init-time log message events.
Note that the Context passed to the plugin is not yet fully initialized, and is intended for event handler attachment only - don't call scores, update, etc on it. If you need to call these methods immediately, attach your plugin after initialisation.
Signature:
plugins?: Array<ContextPlugin>;