Skip to content

The result of the task will prepend to the signature arguments in callback, not append. #9745

@amirsoroush

Description

@amirsoroush

Checklist

  • I have checked the issues list
    for similar or identical bug reports.
  • I have checked the pull requests list
    for existing proposed fixes.
  • I have checked the commit log
    to find out if the bug was already fixed in the main branch.
  • I have included all related issues and possible duplicate issues in this issue
    (If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues

  • None

Possible Duplicates

  • None

Description

In the last sentence of the CallBack section, it's mentioned that:

As expected this will first launch one task calculating 2 + 2, then another task calculating 8 + 4.

But it should be 4 + 8 since the result of the parent task is supposed to be "prepended" to the arguments of the signature.

Suggestions

Change 8 + 4 to 4 + 8.

Of course it doesn't have effect in the add task, but it will with other tasks that the order matters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions