ModelInfoCompiler.init() method
Home > @keymanapp/kmc-model-info > ModelInfoCompiler > init
ModelInfoCompiler.init() method
Initialize the compiler. Copies options.
Signature:
init(callbacks: CompilerCallbacks, options: ModelInfoCompilerOptions): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
callbacks | CompilerCallbacks | Callbacks for external interfaces, including message reporting and file io |
options | ModelInfoCompilerOptions | Compiler options |
Returns:
Promise<boolean>
false if initialization fails