Mercurial > pub > ImplabNet
diff Implab/RejectedPromise.cs @ 249:d82909310094 v3
Implab.Test moved to xunit
Complete set of PromiseHelpers (Then, Catch, Finally)
Removed obsolete types ICancellable, ICancellationToken
author | cin |
---|---|
date | Wed, 31 Jan 2018 11:28:38 +0300 |
parents | 5cb4826c2c2a |
children |
line wrap: on
line diff
--- a/Implab/RejectedPromise.cs Tue Jan 30 01:37:17 2018 +0300 +++ b/Implab/RejectedPromise.cs Wed Jan 31 11:28:38 2018 +0300 @@ -24,11 +24,11 @@ } public void Join() { - m_reason.ThrowInvocationException(); + throw m_reason.Wrap(); } public void Join(int timeout) { - m_reason.ThrowInvocationException(); + throw m_reason.Wrap(); } public void Then(IResolvable next) {