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.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/activity.ts - Source link:
packages/dreamcli/src/core/schema/activity.ts:86
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;