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

Add support for merging timeouts into an existing future

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch

      Currently it's quite cumbersome to add a timeout that cancels; to a future. It generally involves a shared_ptr control block, an atomic and much sadness.

      We need something like:

      funcThatFutures().addTimeout(Duration)

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: