mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 11:10:58 +02:00
unasync trywriteport
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user