s3-sync-client icon indicating copy to clipboard operation
s3-sync-client copied to clipboard

Emit more event about related filename and task type.

Open DiscreteTom opened this issue 2 years ago • 1 comments

E.g. maybe TransferMonitor can do something like:

this.emit('ignore', filename)
this.emit('start', filename)
this.emit('done', filename)

DiscreteTom avatar Aug 21 '22 03:08 DiscreteTom

I came here to open the same issue, mainly for the this.emit('done', filename); event.

I'm working on a project that requires post-processing of files synced from Cloudflare R2 to a local file system. There are thousands of files and sync may take a while, hence I'd love to start the post-processing as soon as a file is synced.

#44 is a suggestion of how we could achieve that. Please let me know what you think 😊.

mikenikles avatar Feb 21 '23 05:02 mikenikles