adm-zip icon indicating copy to clipboard operation
adm-zip copied to clipboard

How to detect when writing is finished

Open noam3127 opened this issue 8 years ago • 2 comments

I'm looking for a way to detect when zip.extractAllTo() finishes extraction and writing of the files. That method doesn't take a callback, nor does it return a stream. Anyone have any ideas for a workaround?

noam3127 avatar Dec 07 '16 23:12 noam3127

using extractAllToAsync and add a callback

extractAllToAsync : function(/*String*/targetPath, /*Boolean*/overwrite, /*Function*/callback) 

Colin6618 avatar Dec 22 '16 03:12 Colin6618

@Colin6618 there is no extractAllToAsync in api, where to find it?

bi-kai avatar Aug 25 '18 03:08 bi-kai