mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Add not about nextTick and setTimeout(fn, 0)
This commit is contained in:
@@ -125,6 +125,8 @@ Returns the memory usage of the Node process. It looks like this
|
||||
|
||||
+process.nextTick(callback)+::
|
||||
On the next loop around the event loop call this callback.
|
||||
This is *not* a simple alias to +setTimeout(fn, 0)+, it's much more
|
||||
efficient.
|
||||
|
||||
+process.exit(code=0)+::
|
||||
Ends the process with the specified code. By default it exits with the
|
||||
|
||||
Reference in New Issue
Block a user