DOCUMENTATION: Fix invalid links in ns.sleep and ns.asleep (#2496)

This commit is contained in:
catloversg
2026-02-12 01:46:04 +07:00
committed by GitHub
parent 26b5c28df6
commit be66b766a2
3 changed files with 4 additions and 4 deletions

View File

@@ -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.