Uploaded image for project: 'Scala'
  1. Scala
  2. SCALA-405

Fix order issue with ExecutionContextObservable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      As it uses an ExecutionContext there can be a race condition between calls of the methods.

      onSubscribe and onNext need to block to ensure that they have been processed before allowing further calls to the Observable. onError and onComplete do not need to block as they are only permitted to be called once and are terminal methods on the observer.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: