-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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
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.