Events and Timers
暂无分享,去创建一个
The previous chapter introduced Node's event-driven programming model. This chapter takes a more in-depth look at events and event handling. A solid understanding of event handling will allow you to sophisticated, event-driven applications, such as web servers. This chapter introduces event emitters—objects used to create new events. After learning how to create events, the chapter turns to event handling. Finally, the chapter wraps up with a discussion of timers and function scheduling in Node.