diff Implab/SuccessPromise.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/SuccessPromise.cs	Tue Jan 23 19:39:21 2018 +0300
+++ b/Implab/SuccessPromise.cs	Wed Jan 24 03:03:21 2018 +0300
@@ -58,13 +58,13 @@
         public void Join(int timeout) {
         }
 
-        public Type PromiseType {
+        public Type ResultType {
             get {
                 return typeof(void);
             }
         }
 
-        public bool IsResolved {
+        public bool IsFulfilled {
             get {
                 return true;
             }
@@ -76,7 +76,7 @@
             }
         }
 
-        public Exception Error {
+        public Exception RejectReason {
             get {
                 return null;
             }