Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions