Through the namespace broker.core
, you can access functions of Mat|r core.
PUBLIC METHODS
void broker.core.initialize(String aliasLib)
It enables the initialization of imported libraries, by running its OnInit
block.
Parameters | |
---|---|
String | Alias of the library that will be initiated. |
Exceptions |
---|
OnInitLibraryNotFound – Block onInit of library aliasLib not found. |
Example
Import myImportedLibrary as lib
Application {
OnInit {
//inside OnInit application block we can initialize libraries for later use
broker.core.initialize("lib")
...
}
}