adm-zip
adm-zip copied to clipboard
How to detect when writing is finished
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?
using extractAllToAsync and add a callback
extractAllToAsync : function(/*String*/targetPath, /*Boolean*/overwrite, /*Function*/callback)
@Colin6618 there is no extractAllToAsync in api, where to find it?