view 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 source

namespace Implab.Components {
    
    public enum ExecutionState {
        Undefined = 0,

        Created,

        Initializing,

        Ready,

        Starting,

        Running,

        Suspending,

        Suspended,

        Resuming,

        Stopping,

        Failed,

        Disposed,

        Last = Disposed
    }
}