Files
node/lib
Sunghoon a2c8de7fba 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-27 11:03:36 -05:00
..
…
…
…
…
2024-10-04 10:20:24 +02:00
2024-10-04 10:20:24 +02:00
2024-10-04 10:20:24 +02:00
2024-10-04 10:20:24 +02:00
2024-10-04 10:20:24 +02:00
2024-11-27 01:42:44 -05:00
2024-11-27 01:37:53 -05:00
2024-01-12 16:09:48 +00:00
2024-07-16 12:01:14 +02:00
2024-11-27 01:42:44 -05:00
2024-10-04 10:20:24 +02:00
2024-10-04 10:20:24 +02:00
2024-02-02 15:25:34 +01:00
2024-06-01 10:55:09 +02:00
2024-10-04 10:20:24 +02:00
2024-07-16 12:01:13 +02:00
2024-10-04 10:20:22 +02:00
2024-11-27 11:03:32 -05:00
2024-10-09 22:57:22 +02:00
…
2024-10-04 10:20:24 +02:00