comparison Implab/IDeferredT.cs @ 143:16f926ee499d v2

DRAFT: refactoring, adding cancelation token
author cin
date Wed, 04 Mar 2015 18:05:39 +0300
parents 2573b562e328
children 706fccb85524
comparison
equal deleted inserted replaced
142:2100965eb97f 143:16f926ee499d
1 using System; 1 using System;
2 2
3 namespace Implab { 3 namespace Implab {
4 public interface IDeferred<T> : ICancellable { 4 public interface IDeferred<T> : ICancelationToken {
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 }