Node.js Design Patterns: Design and Implement Production-Grade Node.js Applications Using Proven Patterns and Techniques
Rate it:
4%
Flag icon
The main idea behind the reactor pattern is to have a handler associated with each I/O operation. A handler in Node.js is represented by a callback (or cb for short) function.