mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 15:42:28 +01:00
1c20a24079
This eliminates a hole where spawn was unrelaible, because other scripts could jump in and steal the RAM. It's not an API break, because 0 used to be an invalid value.
680 B
680 B
Home > bitburner > SpawnOptions
SpawnOptions interface
Signature:
interface SpawnOptions extends RunOptions
Extends: RunOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
spawnDelay? | number | (Optional) Number of milliseconds to delay before spawning script, defaults to 10000 (10s). Must be a non-negative integer. If 0, the script will be spawned synchronously. |