Skip to content

can I add on the task queue from another task that's already in the queue? #28

Description

@artangco

Basically can I nest adding to the task queue or is that going to mess things up?

queue.tasks +=~ { result, next in
queue.tasks +=~ { result , next in
print("foo")
next(nil)
}
next(nil)
}

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions