Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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