Skip to content

Commit 7cc89de

Browse files
committed
Remove irrelevant methods.
1 parent cf0cd60 commit 7cc89de

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,6 @@ Removes a `listener` from the collection for a specified `event`.
5757
emitter.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], [...])
7761
Execute each of the `listeners` collection in order with the given parameters.
7862
- `event` - The name of the event you want to emit.

0 commit comments

Comments
 (0)