[英]C# are coroutines asynchronous?
I'm relatively new to c# (not to programming in general), and I cant seem to find an answer to this question that is just plain and simple. 我是C#的新手(一般来说不熟悉编程),而且我似乎找不到简单而简单的答案。
are coroutines asynchronous? 协程是异步的吗? (y/n/both/abort)
(Y / N /两者/中止)
You should read Eduasync part 13: first look at coroutines with async . 您应该阅读Eduasync第13部分:首先看一下async的协程 。 Coroutines are not asyncronous by standard, but using the
await
and async
(C# 5.0 and .NET 4.5) keyword you can make them to. 协程在标准上不是异步的,但是使用
await
和async
(C#5.0和.NET 4.5)关键字可以使它们成为async
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.