diff Implab/Components/IRunnable.cs @ 152:240aa6994018 v2

component model refactoring
author cin
date Thu, 11 Feb 2016 01:56:27 +0300
parents
children 4d9830a9bbb8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab/Components/IRunnable.cs	Thu Feb 11 01:56:27 2016 +0300
@@ -0,0 +1,14 @@
+using System;
+
+namespace Implab.Components {
+    public interface IRunnable {
+        IPromise Start();
+
+        IPromise Stop();
+
+        ExecutionState State { get; }
+
+        Exception LastError { get; }
+    }
+}
+