Skip to content

add streaming support to par-each #13720

Open
@cablehead

Description

Related problem

A demonstration that par-each doesn't stream:

[7,8,9,10] | each {|x| sleep 1sec; $x} | par-each {|el| $el} | each {|x| print $x}

Describe the solution you'd like

The above snippet would emit values immediately after they are received by par-each

Describe alternatives you've considered

No response

Additional context and details

This wouldn't be possible when using the --keep-order flag

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststreamingIssues related to streaming data (or collecting data when it should be streamed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions