Skip to content

Consolidate fs.written and fs.write #1391

@KernelDeimos

Description

@KernelDeimos

fs.written was added to provide an event that's fired after the entire contents of a file has been written. The previously-existing fs.write does not wait for upload. It was realized that none of the listeners to fs.write interact with the file stream, so we can make fs.write behave the way fs.written currently does and remove the fs.written event.

This PR requires updating WorkerService:

svc_event.on('fs.written.file', async (_key, data, meta) => {

Workers need to be fully tested after these changes.

Metadata

Metadata

Assignees

Labels

roadmapInternal use only, do not use label unless you have been given permission by a maintainer.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions