comparison 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
comparison
equal deleted inserted replaced
144:8c0b95069066 145:706fccb85524
1 using System; 1 using System;
2 2
3 namespace Implab { 3 namespace Implab {
4 public interface IDeferred<T> : ICancelationToken { 4 public interface IDeferred<in T> : ICancellationToken {
5 void Resolve(T value); 5 void Resolve(T value);
6 6
7 void Reject(Exception error); 7 void Reject(Exception error);
8 } 8 }
9 } 9 }