Skip to content

support for background tasks? #351

@larochef

Description

@larochef

I want to run some possibly long running in the background. By long running, I mean that the rest of the code executing cannot wait for this code to complete.
The supervised blocks cancelling all that's running once they are over, what would be a good way to have tasks executing in the background?
So far, the only way I found is using futures, which I would really would like to avoid.

Is there a way to do it (I'm currently on 1.0.0-RC2)? If not, do you think it is something that would be added to Ox in the future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions