diff Implab/PromiseEventType.cs @ 104:5f10d54b45df v2

renamed Promise.Last -> Promise.On Promise.On doesn't changes Promise.IsExclusive property
author cin
date Sun, 09 Nov 2014 23:03:45 +0300
parents
children 3fbc6eb93eb1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab/PromiseEventType.cs	Sun Nov 09 23:03:45 2014 +0300
@@ -0,0 +1,19 @@
+using System;
+
+namespace Implab {
+    [Flags]
+    public enum PromiseEventType {
+        Success = 1,
+        Error = 2,
+        Cancelled = 4,
+        /// <summary>
+        /// Завершено успешно, либо возникла ошибка, 
+        /// </summary>
+        All = 7,
+        /// <summary>
+        /// Заврешено успешно, либо возникла ошибка.
+        /// </summary>
+        Complete = 3
+    }
+}
+