The self-update run as a node, so a test stands in a scripted runner for the real spawn.
API
@Interface()
export abstract class UpdateJob {
abstract status(): UpdateJobStatus;
abstract start(cliEntry: string | null, targetVersion: string | null): UpdateJobStatus;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (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.
@paramcliEntry
string | null@paramtargetVersion
string | null@returns
UpdateJobStatus