Home > bitburner > NS > clearPort
Clear data from a port.
Signature:
clearPort(portNumber: number): void;
Parameter | Type | Description |
---|---|---|
portNumber | number | Port to clear data from. Must be a positive integer. |
Returns:
void
RAM cost: 0 GB
Delete all data from the underlying queue.