Update NetworkInterface::startCommand to return a future

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • Networking & Obs 2024-08-19, Networking & Obs 2024-09-02, Networking & Obs 2024-09-16, Networking & Obs 2024-09-30
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      NetworkInterface::startCommand currently accepts a callback as an argument which it invokes once the result of the command has been received. We should update this to return a SemiFuture instead to more align with how asynchronous code is written today. This also has the benefit of ensuring callbacks are executed using the callers resources rather than the NITL's reactor thread.

            Assignee:
            Joseph Prince
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: