![]() ![]() ![]() Poll Phase Callbacksĭuring the poll phase, all non-blocking I/O request callbacks are executed. Any microtasks that are needed will be executed, and the event loop will continue to the check process. The poll phase, however, will come to an end if timers are set. ![]() If the poll queue is empty, it normally blocks and waits for any in-flight I/O operations to finish before executing their callbacks. If one or more timers are ready, the event loop returns to the timers phase to perform the callbacks for those timers. The event loop will search for timers whose time limits have been reached until the poll queue is empty.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |