mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
DOCUMENTATION: Fix invalid links in ns.sleep and ns.asleep (#2496)
This commit is contained in:
@@ -58,5 +58,5 @@ A promise that resolves to true when the sleep is completed.
|
||||
|
||||
RAM cost: 0 GB
|
||||
|
||||
Note that the actual delay may be longer than intended. For more information, please check https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout\#delay.
|
||||
Note that the actual delay may be longer than intended. For more information, please check [https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout\#delay](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#delay)<!-- -->.
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ A promise that resolves to true when the sleep is completed.
|
||||
|
||||
RAM cost: 0 GB
|
||||
|
||||
Note that the actual delay may be longer than intended. For more information, please check https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout\#delay.
|
||||
Note that the actual delay may be longer than intended. For more information, please check [https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout\#delay](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#delay)<!-- -->.
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -7287,7 +7287,7 @@ export interface NS {
|
||||
* RAM cost: 0 GB
|
||||
*
|
||||
* Note that the actual delay may be longer than intended. For more information, please check
|
||||
* https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#delay.
|
||||
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#delay}.
|
||||
*
|
||||
* @param millis - Number of milliseconds to sleep. Default to 0.
|
||||
* @example
|
||||
@@ -7308,7 +7308,7 @@ export interface NS {
|
||||
* RAM cost: 0 GB
|
||||
*
|
||||
* Note that the actual delay may be longer than intended. For more information, please check
|
||||
* https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#delay.
|
||||
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#delay}.
|
||||
*
|
||||
* @param millis - Number of milliseconds to sleep. Default to 0.
|
||||
* @returns A promise that resolves to true when the sleep is completed.
|
||||
|
||||
Reference in New Issue
Block a user