Re: [swift-evolution] [Concurrency] async/await + actors: cancellation

2017-08-19 Thread Jan Tuitman via swift-evolution
it is waiting or actively doing something. So, it is also not guaranteed to cancel the function. Regards, Jan > Op 18 aug. 2017 om 21:04 heeft Joe Groff het volgende > geschreven: > > >> On Aug 17, 2017, at 11:53 PM, Jan Tuitman via swift-evolution >> wrot

[swift-evolution] [Concurrency] async/await + actors: cancellation

2017-08-17 Thread Jan Tuitman via swift-evolution
Hi, After reading Chris Lattners proposal for async/await I wonder if the proposal has any way to cancel outstanding tasks. I saw these two: @IBAction func buttonDidClick(sender:AnyObject) { // 1 beginAsync { // 2 let image = await processImage() imageView.image = image } /