Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Service Arch 2021-09-20
-
35
Description
Just take this private thing defined inside a function in future.h:
struct PromiseAndFuture {
|
Promise<T> promise = Promise(make_intrusive<SharedStateT>());
|
Future<T> future = promise.getFuture();
|
};
|
And move it basically to be in the mongo namespace.
Attachments
Issue Links
- is related to
-
SERVER-48735 Document Server-Internal Promise-Futures
-
- Closed
-