view Implab/Components/IRunnable.cs @ 156:97fbbf816844 v2

Promises: SignalXXX methods merged into SignalHandler method. Components: RunnableComponent In progress
author cin
date Mon, 15 Feb 2016 04:22:15 +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; }
    }
}