mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
NETSCRIPT: added portHandle.nextWrite() (#187)
This commit is contained in:
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -998,6 +998,13 @@ export interface NetscriptPort {
|
||||
*/
|
||||
tryWrite(value: string | number): boolean;
|
||||
|
||||
/**
|
||||
* Sleeps until the port is written to.
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
*/
|
||||
nextWrite(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Shift an element out of the port.
|
||||
* @remarks
|
||||
|
||||
Reference in New Issue
Block a user