mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
843 B
843 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
4 GB