Skip to content

Commit

Permalink
DOCUMENTATION: Clarify "completion" property of GraftingTask (bitburn…
Browse files Browse the repository at this point in the history
  • Loading branch information
catloversg authored Oct 22, 2024
1 parent 3ce2ae5 commit b72c03a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 4 additions & 2 deletions markdown/bitburner.graftingtask.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## GraftingTask interface

Faction Work
Grafting Work

**Signature:**

Expand All @@ -14,7 +14,9 @@ export interface GraftingTask

## Remarks

An object representing the current grafting status
An object representing the current grafting task

The "completion" property is a promise that resolves when the task is complete.

## Properties

Expand Down
2 changes: 1 addition & 1 deletion markdown/bitburner.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
| [GoAnalysis](./bitburner.goanalysis.md) | Tools to analyze the IPvGO subnet. |
| [GoCheat](./bitburner.gocheat.md) | Illicit and dangerous IPvGO tools. Not for the faint of heart. Requires BitNode 14.2 to use. |
| [Grafting](./bitburner.grafting.md) | Grafting API |
| [GraftingTask](./bitburner.graftingtask.md) | Faction Work |
| [GraftingTask](./bitburner.graftingtask.md) | Grafting Work |
| [HackingFormulas](./bitburner.hackingformulas.md) | Hacking formulas |
| [HackingMultipliers](./bitburner.hackingmultipliers.md) | Hack related multipliers. |
| [Hacknet](./bitburner.hacknet.md) | Hacknet API |
Expand Down
8 changes: 6 additions & 2 deletions src/ScriptEditor/NetscriptDefinitions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1708,9 +1708,13 @@ export interface FactionWorkTask {
}

/**
* Faction Work
* Grafting Work
*
* @remarks
* An object representing the current grafting status
* An object representing the current grafting task
*
* The "completion" property is a promise that resolves when the task is complete.
*
* @public
*/
export interface GraftingTask {
Expand Down

0 comments on commit b72c03a

Please sign in to comment.