Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 607 Bytes

bitburner.ns.nextportwrite.md

File metadata and controls

30 lines (17 loc) · 607 Bytes

Home > bitburner > NS > nextPortWrite

NS.nextPortWrite() method

Listen for a port write.

Signature:

nextPortWrite(port: number): Promise<void>;

Parameters

Parameter Type Description
port number Port to listen for a write on. Must be a positive integer.

Returns:

Promise<void>

Remarks

RAM cost: 0 GB

Sleeps until the port is written to.