Here is my CopyFileEx class. It implements async I/O to copy a file from source to destination. It also raises an event as each chunk is read, so the calling application can present a file copy dialog ...
var a, async = function(f) { setTimeout(function() { var r = 'step 2'; f(r); }, 1); }, myFunc = function() { a = 'step 1'; async(function(r) { a = r; // should reset ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results