Mercurial > pub > ImplabNet
diff Implab/SuccessPromiseT.cs @ 242:cbe10ac0731e v3
Working on promises
author | cin |
---|---|
date | Wed, 24 Jan 2018 03:03:21 +0300 |
parents | 4d9830a9bbb8 |
children |
line wrap: on
line diff
--- a/Implab/SuccessPromiseT.cs Tue Jan 23 19:39:21 2018 +0300 +++ b/Implab/SuccessPromiseT.cs Wed Jan 24 03:03:21 2018 +0300 @@ -119,13 +119,13 @@ void IPromise.Join(int timeout) { } - public Type PromiseType { + public Type ResultType { get { return typeof(T); } } - public bool IsResolved { + public bool IsFulfilled { get { return true; } @@ -137,7 +137,7 @@ } } - public Exception Error { + public Exception RejectReason { get { return null; }