0
只要向“ContinueWith”回调添加取消标记,任务就会失去它的协议,因此.Result会生成编译错误。这是一个与Firebase的错误?Firebase GetValueAsync with CancellationToken C#(Unity)
reference.Child(string.Format("friendsLeaderboard/{0}/{1}", auth.CurrentUser.UserId, seed))
.OrderByChild("time")
.LimitToFirst(10).GetValueAsync().ContinueWith(task => {
if (task.IsFaulted) {
} else if (task.IsCompleted) {
var snapshot = task.Result;
}
}, token);
能否请您详细阐述如何* *和*为什么*这解决了有机磷农药的问题? –