mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
24 lines
565 B
Markdown
24 lines
565 B
Markdown
<!-- 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.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getCurrentWork(): Task | null;
|
|
```
|
|
**Returns:**
|
|
|
|
[Task](./bitburner.task.md) \| null
|
|
|
|
- An object representing the current work. Fields depend on the kind of work.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.5 GB \* 16/4/1
|
|
|