Mercurial > pub > ImplabNet
comparison Implab/SuccessPromise.cs @ 242:cbe10ac0731e v3
Working on promises
author | cin |
---|---|
date | Wed, 24 Jan 2018 03:03:21 +0300 |
parents | 4d9830a9bbb8 |
children |
comparison
equal
deleted
inserted
replaced
240:fa6cbf4d8841 | 242:cbe10ac0731e |
---|---|
56 } | 56 } |
57 | 57 |
58 public void Join(int timeout) { | 58 public void Join(int timeout) { |
59 } | 59 } |
60 | 60 |
61 public Type PromiseType { | 61 public Type ResultType { |
62 get { | 62 get { |
63 return typeof(void); | 63 return typeof(void); |
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 public bool IsResolved { | 67 public bool IsFulfilled { |
68 get { | 68 get { |
69 return true; | 69 return true; |
70 } | 70 } |
71 } | 71 } |
72 | 72 |
74 get { | 74 get { |
75 return false; | 75 return false; |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 public Exception Error { | 79 public Exception RejectReason { |
80 get { | 80 get { |
81 return null; | 81 return null; |
82 } | 82 } |
83 } | 83 } |
84 | 84 |