bitburner-src/markdown/bitburner.ns.clearport.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

538 B

Home > bitburner > NS > clearPort

NS.clearPort() method

Clear data from a port.

Signature:

clearPort(handle: number): void;

Parameters

Parameter Type Description
handle number Port to clear.

Returns:

void

Remarks

RAM cost: 0 GB

Delete all data from the underlying queue.