<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nodejs on 分而治之</title><link>https://www.justinchen928.com/categories/nodejs/</link><description>Recent content in nodejs on 分而治之</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><managingEditor>justin928501@gmail.com (CHIH-YU CHEN)</managingEditor><webMaster>justin928501@gmail.com (CHIH-YU CHEN)</webMaster><lastBuildDate>Sun, 29 Mar 2020 08:05:10 +0800</lastBuildDate><atom:link href="https://www.justinchen928.com/categories/nodejs/index.xml" rel="self" type="application/rss+xml"/><item><title>單線程的Node.js如何做到非同步</title><link>https://www.justinchen928.com/posts/how-does-nodejs-handle-asynchronous-operations/</link><pubDate>Sun, 29 Mar 2020 08:05:10 +0800</pubDate><author>justin928501@gmail.com (CHIH-YU CHEN)</author><guid>https://www.justinchen928.com/posts/how-does-nodejs-handle-asynchronous-operations/</guid><description>&lt;p>前陣子因為要向同事解釋node.js專案的某段程式碼時，他問很多問題，其中一個問題是：&lt;/p>
&lt;blockquote>
&lt;h1 id="nodejs-是怎麼做到非同步">Node.js 是怎麼做到非同步&lt;/h1>
&lt;/blockquote>
&lt;p>記得我當時是回答了一個錯得離譜的答案，就不說出來給大家笑了。於是我花了一段時間研究Node.js或者說Javascript是怎麼運作的，以下的心得跟大家分享，&lt;strong>如果有任何錯誤，歡迎直接留言指正。&lt;/strong>&lt;/p></description></item></channel></rss>