mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
documentation fixes from @max-schaefer
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
59bafab6c3
commit
e5d465da9a
@@ -20,8 +20,8 @@ module EventEmitter {
|
||||
}
|
||||
|
||||
/**
|
||||
* An instanceof of the NodeJS EventEmitter class.
|
||||
* Extend this class to mark something as being instanceof the EventEmitter class.
|
||||
* An instance of the NodeJS EventEmitter class.
|
||||
* Extend this class to mark something as being an instance of the EventEmitter class.
|
||||
*/
|
||||
abstract class EventEmitter extends DataFlow::Node {
|
||||
/**
|
||||
@@ -96,7 +96,7 @@ module EventEmitter {
|
||||
|
||||
/**
|
||||
* Holds if this event dispatch can send an event to the given even registration.
|
||||
* The default implementation is that the emitters of the dispatch and registration has to be equal.
|
||||
* The default implementation is that the emitters of the dispatch and registration have to be equal.
|
||||
*/
|
||||
predicate canSendTo(EventRegistration destination) { this.getEmitter() = destination.getEmitter() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user