kevva / decompress

Extracting archives made easy
MIT License
415 stars 51 forks source link

during decompress file can i stop or abort it? #67

Open ahuang opened 5 years ago

ahuang commented 5 years ago

while decompress is decompressing and during the process can i stop it by a function?

for example: let d = decompress(file, desDir).then(files => {....}, error=>{...}); d.abort() // is there any function abort the current decompress?