Variable: BootSubjects
Makaio Framework / kernel / BootSubjects
Variable: BootSubjects
Section titled “Variable: BootSubjects”
constBootSubjects:BusSubjects<FlatSubjectDefinitions<"kernel:boot", {complete:ZodObject<{failedServices:ZodArray<ZodString>;totalDurationMs:ZodNumber; },$strip>;getState: {request:ZodObject<{ },$strip>;response:ZodObject<{complete:ZodBoolean;completedCount:ZodNumber;currentService:ZodOptional<ZodString>;failedServices:ZodArray<ZodString>;skippedServices:ZodDefault<ZodArray<ZodString>>;totalCount:ZodNumber;totalDurationMs:ZodOptional<ZodNumber>; },$strip>; };progress:ZodObject<{completedCount:ZodNumber;currentService:ZodOptional<ZodString>;totalCount:ZodNumber; },$strip>;service.failed:ZodObject<{displayName:ZodString;errorMessage:ZodString;name:ZodString; },$strip>;service.ready:ZodObject<{displayName:ZodString;durationMs:ZodNumber;name:ZodString; },$strip>;service.skipped:ZodObject<{displayName:ZodString;name:ZodString;reason:ZodString; },$strip>;service.starting:ZodObject<{displayName:ZodString;name:ZodString; },$strip>; }>,"kernel:boot"> =BootNamespace.subjects
Defined in: ../../../packages/kernel/src/boot-namespace.ts:160
Boot subjects for type-safe bus operations.
Subjects:
getState— RPC to retrieve the current boot state for late subscribersservice.starting— event: emitted before a service begins startupservice.ready— event: emitted when a service finishes startup successfullyservice.failed— event: emitted when a service startup throws an unexpected errorservice.skipped— event: emitted when a service throws ServiceSkipError (intentional opt-out)progress— event: emitted after each service completes, with overall progresscomplete— event: emitted once all services have settled
Dot-notation keys produce nested access:
BootSubjects.service.startingBootSubjects.complete