Skip to content

Commit 78b1e11

Browse files
Correct docs on listener position
1 parent 3949d91 commit 78b1e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/EventEmitter.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- | ## Handling events emitted by an `EventEmitter`
22
-- |
33
-- | One can add callbacks to an `EventEmitter` on two major axes:
4-
-- | - whether listener is added to the front (i.e. `on`) or back (i.e. `prependListener`) of the array
4+
-- | - whether listener is added to the **end** (i.e. `on`) or **start** (i.e. `prependListener`) of the array
55
-- | - whether a listener is automatically removed after the first event (i.e. `once` or `prependOnceListener`).
66
-- |
77
-- | This module provides functions for each of the above 4 callback-adding functions

0 commit comments

Comments
 (0)