unasync trywriteport

This commit is contained in:
Snarling
2022-10-04 07:59:50 -04:00
parent aa80cf6451
commit 361466b7fa
3 changed files with 5 additions and 9 deletions

View File

@@ -5969,7 +5969,7 @@ export interface NS {
* @param data - Data to write.
* @returns True if the data is successfully written to the port, and false otherwise.
*/
tryWritePort(port: number, data: string | number): Promise<boolean>;
tryWritePort(port: number, data: string | number): boolean;
/**
* Read content of a file.