Mercurial > pub > ImplabNet
annotate Implab/Components/ExecutionState.cs @ 205:8200ab154c8a v2
Added ResetState to RunnableComponent to reset in case of failure
Added StateChanged event to IRunnable
Renamed Promise.SUCCESS -> Promise.Success
Added Promise.FromException
Renamed Bundle -> PromiseAll in PromiseExtensions
author | cin |
---|---|
date | Tue, 25 Oct 2016 17:40:33 +0300 |
parents | d6a8cba73acc |
children | a867536c68fc |
rev | line source |
---|---|
152 | 1 namespace Implab.Components { |
154 | 2 |
152 | 3 public enum ExecutionState { |
184 | 4 Undefined = 0, |
5 | |
6 Created, | |
7 | |
8 Initializing, | |
9 | |
156
97fbbf816844
Promises: SignalXXX methods merged into SignalHandler method.
cin
parents:
154
diff
changeset
|
10 Ready, |
184 | 11 |
152 | 12 Starting, |
184 | 13 |
152 | 14 Running, |
184 | 15 |
152 | 16 Stopping, |
184 | 17 |
18 Failed, | |
19 | |
152 | 20 Disposed, |
184 | 21 |
22 Last = Disposed | |
152 | 23 } |
24 } |