Call `POST-RECEIVE` while streaming instead of when PATCH is finished
Unless I'm missing something there doesn't seem to be a hook or event to track upload progress server side. tusd has a hook called post-receive which allows you to log upload progress. Is there a way with tus-node-server to do something similar?
More info on use case. I'm using tus to upload the files. Once the upload is complete I will pass it off to another service to do the post processing and final storage. I'd like to have a task tracking wrapper to alert the user to the upload and post processing progress.
Hi, we have POST_RECEIVE too.
In my experience this is only triggered once the PATCH call is completely finished and not as the upload is streaming. So it can't be used to track the upload as it is happening.
Any news?
We can look into changing the behaviour of POST_RECIEVE, to align with tusd, but that would be a breaking change so that's going to have to wait for a bit. I don't think it make sense to introduce another event in the meantime.
Any updates?
A new major version is not coming any time soon, ideally as long as possible, and this is a breaking change.
One option is to introduce POST_RECEIVE_V2 to keep backwards compatibility.
@Murderlon Please release this change, thank you.