Files
node/lib
Sunghoon 7a461edbbb events: add hasEventListener util for validate
There was some repetitive logics that validated the existence of
eventlisteners. We now replace this with a single line of,
`hasEventListener(self, type)`.
`self` is the object(e.g. EventEmitter) to be checked whether
eventlisteners exists or not.
`type` is the type of eventlisteners, which can be `undefined`

PR-URL: https://github.com/nodejs/node/pull/55230
Reviewed-By: Jason Zhang <xzha4350@gmail.com>
2024-11-14 23:25:07 +00:00
..
…
…
2024-11-15 00:18:05 +01:00
…
…
2024-09-24 19:48:15 +00:00
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
2024-10-15 21:24:39 +00:00
2024-10-21 10:25:10 +00:00
2024-10-17 13:18:28 +00:00
2024-01-12 16:09:48 +00:00
2024-07-08 15:55:43 +00:00
2024-10-25 20:40:54 +00:00
2024-10-21 13:10:53 +00:00
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
2024-02-02 15:25:34 +01:00
2024-05-30 09:07:17 -04:00
2024-10-09 06:42:16 +00:00
2024-07-07 00:56:04 +00:00
2024-10-20 19:01:37 +00:00
2024-10-07 11:11:29 +00:00
…
2024-09-28 23:46:21 +00:00