-
Notifications
You must be signed in to change notification settings - Fork 55
Inclusion of TaskProcessing events in the Listener #693
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using:
v33.0.0
Is your feature request related to a problem? Please describe.
Currently the web frontends and ex-apps poll the server to know the status of the task processing tasks which hogs up resources and adds delays. Receiving an event for that through websockets would be ideal, something this app solves already for files, calendar, etc.
Describe the solution you'd like
Addition of listeners of TaskProcessing results events TaskFailedEvent and TaskSuccessfulEvent
https://github.com/nextcloud/server/blob/master/lib/public/TaskProcessing/Events/TaskFailedEvent.php
https://github.com/nextcloud/server/blob/master/lib/public/TaskProcessing/Events/TaskSuccessfulEvent.php
Describe alternatives you've considered
Polling as usual, or making another app like this which would require the app install, proxy setup, etc. all over again.
Additional context
It would be nice to know if this can be added in this, if it would be acceptable. We can try to add the feature with some help.