Mercurial > pub > ImplabNet
diff Implab/IDeferredT.cs @ 145:706fccb85524 v2
RC: cancellation support for promises + tests
author | cin |
---|---|
date | Sun, 08 Mar 2015 02:52:27 +0300 |
parents | 16f926ee499d |
children | fa6cbf4d8841 |
line wrap: on
line diff
--- a/Implab/IDeferredT.cs Fri Mar 06 15:45:26 2015 +0300 +++ b/Implab/IDeferredT.cs Sun Mar 08 02:52:27 2015 +0300 @@ -1,7 +1,7 @@ using System; namespace Implab { - public interface IDeferred<T> : ICancelationToken { + public interface IDeferred<in T> : ICancellationToken { void Resolve(T value); void Reject(Exception error);