No JSDoc comment in source yet.
API
@Component()
export class UpdateJobService implements UpdateJob {
status(): UpdateJobStatus;
start(cliEntry: string | null, targetVersion: string | null): UpdateJobStatus;
}Dependencies & Wiring
Extracted from class decoratorsMethods (2)
status
status(): UpdateJobStatusThe job as it stands (idle / running with progress / done with its result).
@returns
UpdateJobStatusstart
start(cliEntry: string | null, targetVersion: string | null): UpdateJobStatusStarts a run unless one is in flight (then it is simply joined). cliEntry null — no
CLI to run — ends at once as unsupported, the same answer the old blocking route
gave, so the page renders the reason rather than a run that never moves.
@paramcliEntry
string | null@paramtargetVersion
string | null@returns
UpdateJobStatus