Skip to content

Commit b255d86

Browse files
authored
Fix readme typo once alias for sub
1 parent 7bfc383 commit b255d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Available options:
5252

5353
**Note:** This option [will be deprecated](#strict-mode).
5454

55-
§ bus.**once**(_event_, _listener_, _thisArg_) is a shortcut for calling `once()` with the `once: true` option.
55+
§ bus.**once**(_event_, _listener_, _thisArg_) is a shortcut for calling `sub()` with the `once: true` option.
5656

5757
§ bus.**unsub**(_event_, _listener_) — unsubscribe a listener from an event.
5858

0 commit comments

Comments
 (0)