mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
v0.44.1 Minor Update - Added Augs to Duplicate Sleeves and updated documentation
This commit is contained in:
12
doc/source/netscript/basicfunctions/tryWrite.rst
Normal file
12
doc/source/netscript/basicfunctions/tryWrite.rst
Normal file
@@ -0,0 +1,12 @@
|
||||
tryWrite() Netscript Function
|
||||
=============================
|
||||
|
||||
.. js:function:: tryWrite(port, data="")
|
||||
|
||||
:param number port: Port to be written to
|
||||
:param string data: Data to try to write
|
||||
:returns: True if the data is successfully written to the port, and false otherwise
|
||||
:RAM cost: 1 GB
|
||||
|
||||
Attempts to write data to the specified Netscript Port. If the port is full, the data will
|
||||
not be written. Otherwise, the data will be written normally
|
||||
Reference in New Issue
Block a user