ModelInfoCompiler.write() method
Home > @keymanapp/kmc-model-info > ModelInfoCompiler > write
ModelInfoCompiler.write() method
Write artifacts from a successful compile to disk, via callbacks methods. The artifacts written may include:
- .model_info file - metadata file used by keyman.com
Signature:
write(artifacts: ModelInfoCompilerArtifacts): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
artifacts | ModelInfoCompilerArtifacts | object containing artifact binary data to write out |
Returns:
Promise<boolean>
true on success