v2.0.0
alanmcgovern
released this
25 Nov 21:50
·
27 commits
to master
since this release
General
- Removed the TrySet methods from ReusableTaskCompletionSource. As this is a reusable object, you must call SetResult, SetException or SetCancelled exactly once for every 'await' invocation. The TrySet methods may tempt someone into calling
'TrySetResult' and 'TrySetCanceled', which would result in two different results being set.