Static
prefixedPrivate
_postInternal save of postMessage main instance
Private
_loadedInternal array to save all modules that are registered
Constructor
The postMessage main instance to pass to the modules
Add a module
return if the module is correctly added
The name of the module
A module class to instanciate
The configuration to pass to the module
Add a listener for a given event.
Rest
...args: any[]Optional
context: anyRest
...args: any[]Optional
context: anyAdd a one-time listener for a given event.
Rest
...args: any[]Optional
context: anyRemove the listeners of a given event.
Optional
fn: ((...args: any[]) => void)Rest
...args: any[]Optional
context: anyOptional
once: booleanOptional
fn: ((...args: any[]) => void)Rest
...args: any[]Optional
context: anyOptional
once: booleanRemove all listeners, or those of the specified event.
Optional
event: string | symbolGenerated using TypeDoc
A class which handles the loading of the different module and their dependencies. This will also check that both Coriolis instances have the same modules loaded and log into the console if it's not the case.