Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)

On this page

LexicalModelCompiler.init() method

Home > @keymanapp/kmc-model > LexicalModelCompiler > init

LexicalModelCompiler.init() method

Initialize the compiler. There are currently no options specific to the lexical model compiler

Signature:

init(callbacks: CompilerCallbacks, _options: CompilerOptions): Promise<boolean>;

Parameters

Parameter Type Description
callbacks CompilerCallbacks Callbacks for external interfaces, including message reporting and file io
_options CompilerOptions

Returns:

Promise<boolean>

always succeeds and returns true