Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit more event about related filename and task type. #39

Open
DiscreteTom opened this issue Aug 21, 2022 · 1 comment · May be fixed by #44
Open

Emit more event about related filename and task type. #39

DiscreteTom opened this issue Aug 21, 2022 · 1 comment · May be fixed by #44
Labels
enhancement New feature or request

Comments

@DiscreteTom
Copy link

E.g. maybe TransferMonitor can do something like:

this.emit('ignore', filename)
this.emit('start', filename)
this.emit('done', filename)
@jeanbmar jeanbmar added the enhancement New feature or request label Aug 24, 2022
@mikenikles
Copy link

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 😊.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants