diff Implab/AbstractPromise.cs @ 143:16f926ee499d v2

DRAFT: refactoring, adding cancelation token
author cin
date Wed, 04 Mar 2015 18:05:39 +0300
parents f75cfa58e3d4
children 8c0b95069066
line wrap: on
line diff
--- a/Implab/AbstractPromise.cs	Wed Mar 04 03:10:38 2015 +0300
+++ b/Implab/AbstractPromise.cs	Wed Mar 04 18:05:39 2015 +0300
@@ -286,18 +286,6 @@
 
         #endregion
 
-        #region ICancellable implementation
-
-        public void Cancel() {
-            SetCancelled(null);
-        }
-
-        public void Cancel(Exception reason) {
-            SetCancelled(reason);
-        }
-
-        #endregion
-
         public Exception Error {
             get {
                 return m_error;