EventManager.register

EventManager.register(plugin)[source]

Register a plugin with the event manager.

Plugins must be registered with the event manager if they produce events. The plugin manager should take care of this automatically. Users should not call this function.

Parameters

plugin (tenjint.plugins.plugins.Plugin) – The plugin to register.