Events | Node.js v16.1.0 Documentation
Much of the Node.js core API is built around an idiomatic asynchronous event-driven architecture in which certain kinds of objects (called "emitters") emit named events that cause Function objects ("listeners") to be called.
https://nodejs.org/api/events.html