Callback function to update progress when parsing one file.
This callback is called during the conversion process to provide progress updates and stage information.
Finish percentage (0-100)
Name of the current stage
Status of the current stage
Optional
Store data associated with the current stage. Its meaning varies by stage:
const progressCallback: AcDbConversionProgressCallback = async ( percentage, stage, stageStatus, data) => { console.log(`Progress: ${percentage}% - Stage: ${stage} - Status: ${stageStatus}`); if (stage === 'FONT' && data) { console.log('Fonts needed:', data); }}; Copy
const progressCallback: AcDbConversionProgressCallback = async ( percentage, stage, stageStatus, data) => { console.log(`Progress: ${percentage}% - Stage: ${stage} - Status: ${stageStatus}`); if (stage === 'FONT' && data) { console.log('Fonts needed:', data); }};
Callback function to update progress when parsing one file.
This callback is called during the conversion process to provide progress updates and stage information.