2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCurrentWork](./bitburner.singularity.getcurrentwork.md)
|
|
|
|
|
|
|
|
## Singularity.getCurrentWork() method
|
|
|
|
|
|
|
|
Get the current work the player is doing.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
2023-12-27 12:06:45 +01:00
|
|
|
getCurrentWork(): Task | null;
|
2022-10-21 17:16:00 +02:00
|
|
|
```
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-12-27 12:06:45 +01:00
|
|
|
[Task](./bitburner.task.md) \| null
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
- An object representing the current work. Fields depend on the kind of work.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 0.5 GB \* 16/4/1
|
|
|
|
|