summaryrefslogtreecommitdiff
path: root/lib/memoize.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memoize.js')
-rw-r--r--lib/memoize.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/memoize.js b/lib/memoize.js
index 7cb22c2..3e2ee32 100644
--- a/lib/memoize.js
+++ b/lib/memoize.js
@@ -9,6 +9,9 @@ function has(obj, key) {
}
/**
+ * ```
+ * import memoize from 'async/memoize'
+ * ```
* Caches the results of an `async` function. When creating a hash to store
* function results against, the callback is omitted from the hash and an
* optional hash function can be used.
@@ -24,7 +27,7 @@ function has(obj, key) {
*
* @name memoize
* @static
- * @memberOf module:async
+ * @memberOf module:Utils
* @method
* @category Util
* @param {Function} fn - The function to proxy and cache results from.