Mercurial > pub > ImplabNet
diff Implab.Test/PromiseHelper.cs @ 73:3b8393be3441 v2
fixed tests
| author | cin |
|---|---|
| date | Fri, 05 Sep 2014 00:27:14 +0400 |
| parents | 6ec82bf68c8e |
| children | 91362ffbecf8 |
line wrap: on
line diff
--- a/Implab.Test/PromiseHelper.cs Thu Sep 04 18:47:12 2014 +0400 +++ b/Implab.Test/PromiseHelper.cs Fri Sep 05 00:27:14 2014 +0400 @@ -7,7 +7,7 @@ namespace Implab.Test { class PromiseHelper { - public static Promise<T> Sleep<T>(int timeout, T retVal) { + public static IPromise<T> Sleep<T>(int timeout, T retVal) { return AsyncPool.Invoke(() => { Thread.Sleep(timeout); return retVal;
