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

Add an asynchronous non-terminating Loop utility to future_util.h

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch

      future_util.h defines an API for executing async, future-returning try-until loops (running code repeatedly until some condition is satisfied). Sometimes, we just want to loop the code indefinitely, with no termination condition. We should extend this API to provide a "Loop" utility for these cases, where no (always-false) condition needs to be chained on to the looping request.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: