view Implab/Components/IRunnable.cs @ 197:86187b01c4e0

fixed: the error handler should not handle handlers errors
author cin
date Thu, 01 Sep 2016 10:43:31 +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; }
    }
}