mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 04:17:05 +02:00
834 B
834 B
Home > bitburner > BaseTask > nextCompletion
BaseTask.nextCompletion property
This promise resolves when the task completes or is canceled.
Tasks that do not track progress, such as studying or working for a company, are non-completable, i.e., they continue indefinitely until canceled. The nextCompletion promise of these tasks resolves only when they are canceled.
Among completable tasks, some are repeatable, i.e., they automatically restart after completion. The nextCompletion promise of these tasks resolves on the next completion or when they are canceled.
Signature:
nextCompletion: Promise<void>;