Details
-
Type:
Suggestion
-
Status: Reported
-
Priority:
Not Evaluated
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Core: Threads
-
Labels:
Description
Some promise libraries allow multiple continuations from a single point, but QFuture seems to be limited to just a single line of execution. For example it would be great if it was possible to fork into two different branches from a single source:
auto f = promise.future();
f.then([]{});
f.then([]{});