aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Miller <[email protected]>2020-02-21 11:49:20 -0500
committerGitHub <[email protected]>2020-02-21 11:49:20 -0500
commit32145f3cb76c668af1c172fa9cea5ab102ecf565 (patch)
tree8ce5a835c3574cae3849ff6aa635c044bd6055e6 /src
parentb4167179150951a56adf63367b49da5b311b0557 (diff)
Add note about manually firing "*" handlers
Diffstat (limited to 'src')
-rw-r--r--src/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 116b7d8..d9b36f8 100644
--- a/src/index.js
+++ b/src/index.js
@@ -49,6 +49,8 @@ export default function mitt(all: EventHandlerMap) {
* Invoke all handlers for the given type.
* If present, `"*"` handlers are invoked after type-matched handlers.
*
+ * Note: Manually firing "*" handlers is not supported.
+ *
* @param {String} type The event type to invoke
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
* @memberOf mitt