Add way to explicitly copy a SharedSemiFuture, forking the continuation chain

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2020-07-27, Service Arch 2020-08-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SharedPromise/SharedSemiFuture allow introducing a "tee" into a future resolution chain, allowing the completion of 1 promise to result in multiple futures resolving (this of course requires that the value being provided to the futures be copyable). In order to get multiple SharedSemiFutures linked to one SharedPromise, however, you either need to generate the SharedSemiFutures off the original SharedPromise directly, or call thenRunOn() with an executor for follow-up work.

      We should add a convenience method to take a given SharedSemiFuture and produce a new SharedSemiFuture that resolves at the same time as the original, without invalidating the original.

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: