NodeJS is built basing on event-driven architecture and understand how events in NodeJS work is one of the most important things for every NodeJS developers.
In this quiz topic we will cover the common API function around the events and events handling.
This quiz is in NodeJS quiz collection.Start quiz
How many listenners can be attached to an event in NodeJS?
By default EventEmitters will print a warning if more than
______ listeners are added for a particular event
Which methods can be use to switch listener functions asynchronous mode:
EventEmitter object emits an event, all of the functions attached to that specific event are called _______. Any values returned by the called listeners are ignored and will be discarded.
All objects that emit events are instances of the
Which of the following class is used to create and consume custom events in Node.js?
Which method can be used to handle an event just only one time?
EventEmitter does not have at least one listener registered for the
'error' event, and an
'error' event is emitted, the error is thrown, a stack trace is printed, and the Node.js process ____.
© 2017 QuizBucket.org