Skip to content

Receive-Job should have a -Timeout parameter to complement -Wait #5433

@mklement0

Description

@mklement0

Receive-Job -Wait is a convenient way of receiving job output (almost) as it is being produced, but it waits indefinitely for the job to complete.

Having Receive-Job -Wait -Timeout <secs> would be handy to enforce a timeout.

(Wait-Job already has a -Timeout parameter, but it doesn't support receiving job output)

Environment data

Written as of beta.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-Won't FixThe issue won't be fixed, possibly due to compatibility reason.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions