Skip to content

Document output of fork task #1011

@matthias-pichler

Description

@matthias-pichler

What would you like to be added:

Currently the output of the fork task is undocumented. My understanding is that:

  1. compete: false: an array of the outputs from each branch in order of branch definition
  2. compete: true: the output of the first completed branch

Why is this needed:

Questions:

Alternatively one could argue that compete: true could also return an array with all but the winning branch being null. This would allow downstream tasks to know which branch won but seems rather cumbersome.

Metadata

Metadata

Assignees

Labels

area: specChanges in the Specificationchange: documentationImprovements or additions to documentation. It won't impact a version change.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions