Skip to content

3.13.0-M8 Stream.pauseWhen changed behavior when using mergeHaltL #3655

@fede0664

Description

@fede0664

It seems that Stream.pauseWhen changed behavior (stream1 not pausing when pauseSignal is true) on 3.13.0-M8
This code runs ok on 3.13.0-M7 (but not on 3.13.0-M8), stream1 pauses when pauseSignal is true:

stream1
  .pauseWhen(pauseSignal)
  .mergeHaltL(stream2)

On 3.13.0-M8 this code needs to be changed to the following in order to pause stream1:

stream1
  .pauseWhen(pauseSignal)
  .noneTerminate
  .mergeAndAwaitDownstream(stream2.map(Some(_)))
  .unNoneTerminate

Is this the expected behavior since the merge of #3610?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions