Merge pull request #2164 from Hedrauta/fix#2155

fix docu for #2155
This commit is contained in:
hydroflame 2021-12-23 21:47:19 -05:00 committed by GitHub
commit d99b03d12e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4690,11 +4690,12 @@ export interface NS extends Singularity {
* 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
* 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.
* @returns True if any scripts were killed, and false otherwise.
*/
killall(host: string): boolean;
killall(host?: string): boolean;
/**
* Terminates the current script immediately.