comparison Implab/Components/IRunnable.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 4d9830a9bbb8
children 7d07503621fe
comparison
equal deleted inserted replaced
203:4d9830a9bbb8 205:8200ab154c8a
12 /// </summary> 12 /// </summary>
13 IPromise Stop(); 13 IPromise Stop();
14 14
15 ExecutionState State { get; } 15 ExecutionState State { get; }
16 16
17 event EventHandler<StateChangeEventArgs> StateChanged;
18
17 Exception LastError { get; } 19 Exception LastError { get; }
18 } 20 }
19 } 21 }
20 22