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

Create a withTimeout helper function for Futures

    • Server Programmability

      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:
            Unassigned Unassigned
            Reporter:
            tyler.seip@mongodb.com Tyler Seip (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: