Skip to content

ProgressHandle

Handle returned by Out.progress for lifecycle control.

Terminal methods (done, fail) are idempotent — calling any of them after the handle is already stopped is a no-op.

Signatures

ts
interface ProgressHandle {}

Members

Methods

done

ts
done(text?: string): void;

fail

ts
fail(text?: string): void;

increment

ts
increment(n?: number): void;

update

ts
update(value: number): void;

See Also

Released under the MIT License.