Mercurial > pub > ImplabNet
diff Implab/ActionTask.cs @ 244:eee3e49dd1ff v3
working on promises
author | cin |
---|---|
date | Thu, 25 Jan 2018 19:09:16 +0300 |
parents | 40d7fed4a09e |
children |
line wrap: on
line diff
--- a/Implab/ActionTask.cs Wed Jan 24 19:24:10 2018 +0300 +++ b/Implab/ActionTask.cs Thu Jan 25 19:09:16 2018 +0300 @@ -1,7 +1,7 @@ using System; namespace Implab { - public class ActionTask : ActionTaskBase, IDeferred { + public class ActionTask : ActionTaskBase, IResolvable { readonly Action m_task; public ActionTask(Action task, Action<Exception> error, Action<Exception> cancel, bool autoCancellable) : base(error,cancel, autoCancellable) { m_task = task;