给定 a Task t,两者之间是否存在语义差异
t.ContinueWith(ante => DoSomethingWith(ante));
和
t.ContinueWith(ante => DoSomethingWith(t));
,假设t以后没有突变?
antecedent这个论点是否只是为了避免像第二个变体中那样分配闭包?
给定 a Task t,两者之间是否存在语义差异
t.ContinueWith(ante => DoSomethingWith(ante));
和
t.ContinueWith(ante => DoSomethingWith(t));
,假设t以后没有突变?
antecedent这个论点是否只是为了避免像第二个变体中那样分配闭包?