Skip to content

Ordered aspect doesn't work #179

@ghost

Description

EDIT: It will be fixed by: #180

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Output is thrown at the console at the end of all jobs.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
https://i.imgur.com/bXKco8j.mp4

1..10|Start-RSJob {
    if (1 -BAND $_){
        "First ($_)"
    }Else{
        Start-sleep -seconds 2
        "Last ($_)"
    }
}|Wait-RSJob|Receive-RSJob|ForEach{"I am $($_)"}

What is the expected behavior?
Output should be ordered:
Pic

Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
PSVersion 5.1.17618.1000
PSEdition Desktop
BuildVersion 10.0.17618.1000

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