Mercurial > pub > ImplabNet
view Implab/Components/IRunnable.cs @ 204:cbb0bd8fc0d1 v2
Fixed broken Implab.Diagnostics.Interactive
author | cin |
---|---|
date | Mon, 24 Oct 2016 11:24:45 +0300 |
parents | 4d9830a9bbb8 |
children | 8200ab154c8a |
line wrap: on
line source
using System; namespace Implab.Components { public interface IRunnable { /// <summary> /// Starts this instance. /// </summary> IPromise Start(); /// <summary> /// Stops this instance. After the instance is stopped it can't be started again, stopping should be treated as gracefull and async dispose. /// </summary> IPromise Stop(); ExecutionState State { get; } Exception LastError { get; } } }