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

Thomas tclementdev at free.fr
Sat Aug 19 04:36:30 CDT 2017


> On 18 Aug 2017, at 21:35, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Yeah, I think that actor methods deserve a bit of magic:
> 
> - Their bodies should be implicitly async, so they can call async methods without blocking their current queue or have to use beginAsync.

I have a question here. If the body calls an async method "without blocking their current queue", does that mean the queue gets to process other messages, even if the current message is not done with? Or should the queue somehow be suspended so new messages will not be processed?

Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170819/efe09259/attachment.html>


More information about the swift-evolution mailing list