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