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

Add support for future returning rpc on task executor

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • v4.2
    • Service Arch 2019-04-22, Service Arch 2019-05-06, Service Arch 2019-05-20, Service Arch 2019-06-03

      Add support for some kind of future returning scheduleRemoteCommand on task executor (the simplest cut would be pair<SemiFuture<Response>, CallbackHandle>)

      This is to enable use of task executors with futures, as currently you're required to make the promise/future pair yourself, and have to pass your promise in through a shared_ptr (because callbacks have to be copyable)

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

              Created:
              Updated:
              Resolved: