Mercurial > pub > ImplabNet
comparison Implab/Promise.cs @ 28:81708975d6f7
fixes
author | cin |
---|---|
date | Mon, 03 Mar 2014 09:00:23 +0400 |
parents | a236cd1f0477 |
children | 768f7deeb55b |
comparison
equal
deleted
inserted
replaced
27:a236cd1f0477 | 28:81708975d6f7 |
---|---|
47 /// только инициатор обещания иначе могут возникнуть противоречия. | 47 /// только инициатор обещания иначе могут возникнуть противоречия. |
48 /// </para> | 48 /// </para> |
49 /// </remarks> | 49 /// </remarks> |
50 public class Promise<T> : IPromise<T> { | 50 public class Promise<T> : IPromise<T> { |
51 | 51 |
52 struct HandlerDescriptor { | 52 protected struct HandlerDescriptor { |
53 public ResultHandler<T> resultHandler; | 53 public ResultHandler<T> resultHandler; |
54 public ErrorHandler errorHandler; | 54 public ErrorHandler errorHandler; |
55 public Action cancellHandler; | 55 public Action cancellHandler; |
56 | 56 |
57 public void Resolve(T result) { | 57 public void Resolve(T result) { |