annotate Implab/IResolvable`1.cs @ 249:d82909310094 v3

Implab.Test moved to xunit Complete set of PromiseHelpers (Then, Catch, Finally) Removed obsolete types ICancellable, ICancellationToken
author cin
date Wed, 31 Jan 2018 11:28:38 +0300
parents fb70574741a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
246
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
1 using System;
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
2
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
3 namespace Implab {
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
4
247
fb70574741a1 working on promises
cin
parents: 246
diff changeset
5 public interface IResolvable<in T> {
246
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
6 void Resolve(T value);
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
7
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
8 void Reject(Exception reason);
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
9
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
10 }
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
11 }