async function main () {
try {
await extract(source, { dir: target })
console.log('Extraction complete')
} catch (err) {
// handle any errors
}
}
using this method with node 16.18.0 and a callback function does not return error or finish. This results in abruptly crashing node. Please provide good documentation and implementation of the callback function and investigate this bug. For specific cases, neither the finish nor the error event is fired within the writeStream function
async function main () { try { await extract(source, { dir: target }) console.log('Extraction complete') } catch (err) { // handle any errors } }
using this method with node 16.18.0 and a callback function does not return error or finish. This results in abruptly crashing node. Please provide good documentation and implementation of the callback function and investigate this bug. For specific cases, neither the finish nor the error event is fired within the writeStream function