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