view Implab/Components/IRunnable.cs @ 186:75103928da09 ref20160224

working on cancelation and error handling
author cin
date Tue, 19 Apr 2016 00:50:14 +0300
parents 240aa6994018
children 4d9830a9bbb8
line wrap: on
line source

using System;

namespace Implab.Components {
    public interface IRunnable {
        IPromise Start();

        IPromise Stop();

        ExecutionState State { get; }

        Exception LastError { get; }
    }
}