diff options
author | Martin Baulig <mabaul@microsoft.com> | 2018-02-28 11:37:24 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-02-28 11:37:24 +0300 |
commit | 8facc4afb2cb8b6d921a503a442e06c514b33147 (patch) | |
tree | a1f52d5dda8086b048461a58a2516062da291c8f /data | |
parent | dfe6e2d4a2c0cc05f63b3421207daf4dccf6ff5e (diff) |
[System]: Use new `WebCompletionSource` instead of `TaskCompletionSource`. (#7293)
This new helper class uses `TaskCompletionSource<>` internally, but instead
of using TrySetException(), it sets a result containing an `ExceptionDispatchInfo`.
The problem with using TrySetException() is that it wraps the exception
object in an `AggregateException`, that would be unobserved if the caller
throws the original exception.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions