mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
doc function updates and additions (#387)
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
spawn() Netscript Function
|
||||
==========================
|
||||
|
||||
.. js:function:: spawn(script, numThreads[, args...])
|
||||
.. js:function:: spawn(script[, numThreads = 1[, args...]])
|
||||
|
||||
:RAM cost: 2 GB
|
||||
:param string script: Filename of script to execute
|
||||
:param number numThreads: Number of threads to spawn new script with. Will
|
||||
be rounded to nearest integer.
|
||||
:param number numThreads: Number of threads to spawn new script with. Has to be an integer.
|
||||
:param args...:
|
||||
Additional arguments to pass into the new script that is being run.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user