AbstractSubscription implementations need to track completed

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.0
    • Affects Version/s: 3.0.4
    • Component/s: Async
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As multiple requests for data can occur before data is available, then implementations of AbstractSubscription must handle when the Subscriptions completed state.

      Currently, completed defaults to true - so there is a race condition on multiple calls to request between the requesting initial data and then the processing of results that looks at the completed state. If results haven't come in it shortcuts to calling onComplete.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: