view Implab/Components/IRunnable.cs @ 198:b305c678923a

fixed error handling for chained actions
author koff
date Mon, 10 Oct 2016 03:14:00 +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; }
    }
}