changeset 132:5fb2bbffdece v2

minor fixes
author cin
date Sat, 07 Feb 2015 19:41:31 +0300
parents b5c2d609d71b
children 6c49d02a9a05
files Implab/Safe.cs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Implab/Safe.cs	Sat Feb 07 11:06:42 2015 +0300
+++ b/Implab/Safe.cs	Sat Feb 07 19:41:31 2015 +0300
@@ -57,7 +57,7 @@
         }
 
         [DebuggerStepThrough]
-        public static IPromise<T> InvokePromise<T>(Func<T> action) {
+        public static IPromise<T> WrapPromise<T>(Func<T> action) {
             ArgumentNotNull(action, "action");
 
             var p = new Promise<T>();
@@ -71,7 +71,7 @@
         }
 
         [DebuggerStepThrough]
-        public static IPromise InvokePromise(Action action) {
+        public static IPromise WrapPromise(Action action) {
             ArgumentNotNull(action, "action");
 
             var p = new Promise();