[swift-evolution] [Concurrency] async/await + actors
Georgios Moschovitis
george.moschovitis at icloud.com
Sat Aug 19 10:16:00 CDT 2017
Also, notice the consistency
keyword: throw, return type marker: throws (‘monadic’ Result<T>)
keyword: yield, return type marker: yields (‘monadic’ Future<T>)
-g.
> On 19 Aug 2017, at 1:23 PM, Georgios Moschovitis via swift-evolution <swift-evolution at swift.org> wrote:
>
> I am wondering, am I the only one that *strongly* prefers `yield` over `await`?
>
> Superficially, `await` seems like the standard term, but given the fact that the proposal is about coroutines, I think `yield` is actually the proper name. Also, subjectively, it sounds much better/elegant to me!
>
> -g.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
More information about the swift-evolution
mailing list