mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Add not about nextTick and setTimeout(fn, 0)
This commit is contained in:
1 parent
ffb4b47367
commit
dc041628ce
1 file changed
+2
@@ -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