Skip to content

Starting a task with no_wait = true should return a future_t #9

@naves-thiago

Description

@naves-thiago

Change the task interface such that starting a task without blocking the caller should return a future_t object, allowing blocking on that task latter and a more intuitive interface to retrieve the return values than task:result().
Perhaps change it from a parameter in __call to a separate function to start the task. Or maybe have both.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions