mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
853 B
853 B
Home > bitburner > Sleeve > getTask
Sleeve.getTask() method
If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.
Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything.
Signature:
getTask(sleeveNumber: number): SleeveTask;
Parameters
Parameter | Type | Description |
---|---|---|
sleeveNumber | number | Index of the sleeve to retrieve task from. |
Returns:
Object containing information the current task that the sleeve is performing.
Remarks
RAM cost: 4 GB