Mercurial > pub > ImplabNet
comparison Implab/IResolvable`1.cs @ 247:fb70574741a1 v3
working on promises
author | cin |
---|---|
date | Fri, 26 Jan 2018 18:46:27 +0300 |
parents | 5aa9cfbe56c3 |
children |
comparison
equal
deleted
inserted
replaced
246:5aa9cfbe56c3 | 247:fb70574741a1 |
---|---|
1 using System; | 1 using System; |
2 | 2 |
3 namespace Implab { | 3 namespace Implab { |
4 | 4 |
5 public interface IResolvable<T> { | 5 public interface IResolvable<in T> { |
6 void Resolve(T value); | 6 void Resolve(T value); |
7 | 7 |
8 void Reject(Exception reason); | 8 void Reject(Exception reason); |
9 | 9 |
10 } | 10 } |