LexicalModelCompiler.write() method
Home > @keymanapp/kmc-model > LexicalModelCompiler > write
LexicalModelCompiler.write() method
Write artifacts from a successful compile to disk, via callbacks methods. The artifacts written may include:
- .model.js file - Javascript lexical model for web and touch platforms
Signature:
write(artifacts: LexicalModelCompilerArtifacts): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
artifacts | LexicalModelCompilerArtifacts | object containing artifact binary data to write out |
Returns:
Promise<boolean>
always returns true