simple-polling
Advanced tools
+1
-1
@@ -7,3 +7,3 @@ { | ||
| }, | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "description": "A simple polling abstraction for repeating an asynchronous action until a desired outcome is achieved.", | ||
@@ -10,0 +10,0 @@ "main": "poll.js", |
+2
-2
@@ -17,3 +17,3 @@ module.exports = function (op) { | ||
| face.timeout = function (time) { | ||
| face.timeout_at = function (time) { | ||
| timeout_ms = time | ||
@@ -23,3 +23,3 @@ return this | ||
| face.run = function run(cb) { | ||
| face.run = function (cb) { | ||
| var started = Date.now() | ||
@@ -26,0 +26,0 @@ |