On 24 Feb 2017, at 09:48, Brent Royal-Gordon wrote:
On Feb 23, 2017, at 8:35 AM, Karl Wagner via swift-corelibs-dev <
swift-corelibs-dev@swift.org> wrote:
Would it be possible to make a cancelable version of
DispatchQueue.concurrentPerform,
allowing you to abort any yet-to-be-scheduled blocks?
> On Feb 23, 2017, at 8:35 AM, Karl Wagner via swift-corelibs-dev
> wrote:
>
> Would it be possible to make a cancelable version of
> DispatchQueue.concurrentPerform, allowing you to abort any
> yet-to-be-scheduled blocks?
>
> The use-case is for when you’re concurrently performing a job and
Would it be possible to make a cancelable version of
DispatchQueue.concurrentPerform, allowing you to abort any yet-to-be-scheduled
blocks?
The use-case is for when you’re concurrently performing a job and one of them
sets a flag or fails in a way which already defines the result. Further
exec