diff Implab/FuncTask.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/FuncTask.cs	Wed Jan 24 19:24:10 2018 +0300
+++ b/Implab/FuncTask.cs	Thu Jan 25 19:09:16 2018 +0300
@@ -2,7 +2,7 @@
 using System.Threading;
 
 namespace Implab {
-    public class FuncTask<T> : FuncTaskBase<T>, IDeferred {
+    public class FuncTask<T> : FuncTaskBase<T>, IResolvable {
         readonly Func<T> m_task;
 
         public FuncTask(Func<T> task, Func<Exception, T> error, Func<Exception, T> cancel, bool autoCancellable) : base(error, cancel, autoCancellable) {