mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Concurrency] Cancelled group should only spawn already cancelled tasks
This commit is contained in:
@@ -39,6 +39,9 @@ public:
|
||||
|
||||
/// Upon a future task's completion, offer it to the task group it belongs to.
|
||||
void offer(AsyncTask *completed, AsyncContext *context);
|
||||
|
||||
/// Checks the cancellation status of the group.
|
||||
bool isCancelled();
|
||||
};
|
||||
|
||||
} // end namespace swift
|
||||
|
||||
Reference in New Issue
Block a user