diff Implab/Components/ExecutionState.cs @ 209:a867536c68fc v2

Bound promise to CancellationToken Added new states to ExecutionSate enum. Added Safe.Guard() method to handle cleanup of the result of the promise
author cin
date Wed, 16 Nov 2016 03:06:08 +0300
parents d6a8cba73acc
children 9f63dade3a40
line wrap: on
line diff
--- a/Implab/Components/ExecutionState.cs	Sun Nov 13 18:28:17 2016 +0300
+++ b/Implab/Components/ExecutionState.cs	Wed Nov 16 03:06:08 2016 +0300
@@ -13,6 +13,12 @@
 
         Running,
 
+        Suspending,
+
+        Suspended,
+
+        Resuming,
+
         Stopping,
 
         Failed,