File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -57,22 +57,6 @@ Removes a `listener` from the collection for a specified `event`.
5757emitter .off (' live' , listener);
5858```
5959
60- ### Emitter#removeAllListeners(event)
61- Removes all ` listeners ` from the collection for a specified ` event ` .
62- - ` event ` - The name of the event you want to remove.
63-
64- ``` js
65- emitter .removeAllListeners (' live' );
66- ```
67-
68- ### Emitter#listeners(event)
69- Returns all ` listeners ` from the collection for a specified ` event ` .
70- - ` event ` - The name of the event.
71-
72- ``` js
73- emitter .listeners (' live' );
74- ```
75-
7660### Emitter#emit(event, [ arg1] , [ arg2] , [ ...] )
7761Execute each of the ` listeners ` collection in order with the given parameters.
7862- ` event ` - The name of the event you want to emit.
You can’t perform that action at this time.
0 commit comments