SLEEVES: add nextCompletion to SleeveInfiltrationWork (#1177)

* add nextCompletion to InfilWork

and make nextCompletion in BladeburnerWork uniform with other promisePairs
This commit is contained in:
Caldwell
2024-03-21 07:11:12 +01:00
committed by GitHub
parent bbd942ceca
commit 803afc5244
4 changed files with 38 additions and 14 deletions

View File

@@ -1034,7 +1034,12 @@ type SleeveFactionTask = {
};
/** @public */
type SleeveInfiltrateTask = { type: "INFILTRATE"; cyclesWorked: number; cyclesNeeded: number };
type SleeveInfiltrateTask = {
type: "INFILTRATE";
cyclesWorked: number;
cyclesNeeded: number;
nextCompletion: Promise<void>;
};
/** @public */
type SleeveRecoveryTask = { type: "RECOVERY" };