Mercurial > pub > ImplabNet
diff Implab/Components/PollingComponent.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 |
line wrap: on
line diff
--- a/Implab/Components/PollingComponent.cs Tue Oct 18 17:49:54 2016 +0300 +++ b/Implab/Components/PollingComponent.cs Tue Oct 25 17:40:33 2016 +0300 @@ -124,7 +124,7 @@ /// Invoked when the timer ticks, use this method to implement your logic /// </summary> protected virtual IPromise OnTick(ICancellationToken cancellationToken) { - return Promise.SUCCESS; + return Promise.Success; } protected override IPromise OnStop() {