summaryrefslogtreecommitdiff
path: root/lib/asyncify.js
diff options
context:
space:
mode:
authorHubert Argasinski <argasinski.hubert@gmail.com>2016-06-29 01:35:29 -0400
committerHubert Argasinski <argasinski.hubert@gmail.com>2016-06-29 01:56:11 -0400
commit7eaa3b3a9bee0df38ebc0b640a97de42ca05d5da (patch)
tree942b9ea5e9a18f7f55fd01c51555d0c01f82fc5e /lib/asyncify.js
parent90c4f893a30044b67d48a62e42d2c42f379a822f (diff)
downloadasync-7eaa3b3a9bee0df38ebc0b640a97de42ca05d5da.tar.gz
jsdocs: using proxy modules as categories, modifying minami theme
jsdocs: style fix in outputted html jsdoc: added documentation to support script
Diffstat (limited to 'lib/asyncify.js')
-rw-r--r--lib/asyncify.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/asyncify.js b/lib/asyncify.js
index f5a19f7..9baa238 100644
--- a/lib/asyncify.js
+++ b/lib/asyncify.js
@@ -2,6 +2,9 @@ import isObject from 'lodash/isObject';
import initialParams from './internal/initialParams';
/**
+ * ```
+ * import asyncify from 'async/asyncify'
+ * ```
* Take a sync function and make it async, passing its return value to a
* callback. This is useful for plugging sync functions into a waterfall,
* series, or other async functions. Any arguments passed to the generated
@@ -16,7 +19,7 @@ import initialParams from './internal/initialParams';
*
* @name asyncify
* @static
- * @memberOf module:async
+ * @memberOf module:Utils
* @method
* @alias wrapSync
* @category Util