mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
3
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
3
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -4690,11 +4690,12 @@ export interface NS extends Singularity {
|
|||||||
* Kills all running scripts on the specified server. This function returns true
|
* Kills all running scripts on the specified server. This function returns true
|
||||||
* if any scripts were killed, and false otherwise. In other words, it will return
|
* if any scripts were killed, and false otherwise. In other words, it will return
|
||||||
* true if there are any scripts running on the target server.
|
* true if there are any scripts running on the target server.
|
||||||
|
* If no host is defined, it will kill all scripts, where the script is running.
|
||||||
*
|
*
|
||||||
* @param host - IP or hostname of the server on which to kill all scripts.
|
* @param host - IP or hostname of the server on which to kill all scripts.
|
||||||
* @returns True if any scripts were killed, and false otherwise.
|
* @returns True if any scripts were killed, and false otherwise.
|
||||||
*/
|
*/
|
||||||
killall(host: string): boolean;
|
killall(host?: string): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Terminates the current script immediately.
|
* Terminates the current script immediately.
|
||||||
|
|||||||
Reference in New Issue
Block a user