Skip to content

Allow receivers to run in the background. #2

@ddanier

Description

@ddanier

Allow receivers to run in the background by just adding the task to the event loop queue, but not awaiting it. Could do something similar to https://fastapi.tiangolo.com/tutorial/background-tasks/.

Note: Background tasks must be configurable by each receiver, as we still need to have receivers that are required to be finished before continuing. This might for example be true for a receiver that sets the modification date of something before it is stored to the database. Also we should add an option to send() so disable background tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions