diff --git a/Implab/Safe.cs b/Implab/Safe.cs --- a/Implab/Safe.cs +++ b/Implab/Safe.cs @@ -57,7 +57,7 @@ namespace Implab } [DebuggerStepThrough] - public static IPromise InvokePromise(Func action) { + public static IPromise WrapPromise(Func action) { ArgumentNotNull(action, "action"); var p = new Promise(); @@ -71,7 +71,7 @@ namespace Implab } [DebuggerStepThrough] - public static IPromise InvokePromise(Action action) { + public static IPromise WrapPromise(Action action) { ArgumentNotNull(action, "action"); var p = new Promise();