Skip to content

Inclusion of TaskProcessing events in the Listener #693

@kyteinsky

Description

@kyteinsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions