@@ -57,7 +57,7 namespace Implab | |||
|
57 | 57 | } |
|
58 | 58 | |
|
59 | 59 | [DebuggerStepThrough] |
|
60 |
public static IPromise<T> |
|
|
60 | public static IPromise<T> WrapPromise<T>(Func<T> action) { | |
|
61 | 61 | ArgumentNotNull(action, "action"); |
|
62 | 62 | |
|
63 | 63 | var p = new Promise<T>(); |
@@ -71,7 +71,7 namespace Implab | |||
|
71 | 71 | } |
|
72 | 72 | |
|
73 | 73 | [DebuggerStepThrough] |
|
74 |
public static IPromise |
|
|
74 | public static IPromise WrapPromise(Action action) { | |
|
75 | 75 | ArgumentNotNull(action, "action"); |
|
76 | 76 | |
|
77 | 77 | var p = new Promise(); |
General Comments 0
You need to be logged in to leave comments.
Login now