File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,14 @@ of the Node.js application.
130130added: REPLACEME
131131-->
132132
133- * Returns: {integer} number that can be used to reference this ` timeout `
134-
135- Coerce a ` Timeout ` to a primitive, a primitive will be generated that
136- can be used to clear the ` Timeout ` .
137- The generated number can only be used in the same thread where timeout
138- was created. Therefore to use it cross [ ` worker_threads ` ] [ ] it has
139- to first be passed to a correct thread.
140- This allows enhanced compatibility with browser's ` setTimeout() ` , and
141- ` setInterval() ` implementations.
133+ * Returns: {integer} a number that can be used to reference this ` timeout `
134+
135+ Coerce a ` Timeout ` to a primitive. The primitive can be used to
136+ clear the ` Timeout ` . The primitive can only be used in the
137+ same thread where the timeout was created. Therefore, to use it
138+ across [ ` worker_threads ` ] [ ] it must first be passed to the correct
139+ thread. This allows enhanced compatibility with browser
140+ ` setTimeout() ` and ` setInterval() ` implementations.
142141
143142## Scheduling timers
144143
You can’t perform that action at this time.
0 commit comments