Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 20.0Version 19.0Version 18.0 (current version)Version 17.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

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