Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54033

Create a withTimeout helper function for Futures

    • Service Arch

      whenAny is a function that takes in a vector of futures and returns a future that is resolved as soon as one of its inputs resolves. This function is currently used to create futures with timeouts. Since we anticipate this functionality being used quite often, create a free function which allows timeouts to be declared on Futures easily.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            tyler.seip@mongodb.com Tyler Seip (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: