Skip to content

Variable: KernelSubjects

Makaio Framework


Makaio Framework / kernel/namespace / KernelSubjects

const KernelSubjects: BusSubjects<FlatSubjectDefinitions<"kernel", { isReady: { request: ZodObject<{ }, $strip>; response: ZodObject<{ machineId: ZodString; ready: ZodBoolean; }, $strip>; }; lifecycle.shutdown: { request: ZodObject<{ }, $strip>; response: ZodObject<{ }, $strip>; }; lifecycle.start: { request: ZodObject<{ machineId: ZodString; }, $strip>; response: ZodObject<{ }, $strip>; }; phase.busCreated: ZodObject<{ machineId: ZodString; }, $strip>; phase.coordinatorReady: LocalSubjectSchema<{ request: ZodObject<{ machineId: ZodString; }, $strip>; response: ZodObject<{ }, $strip>; }>; phase.coreReady: ZodObject<{ machineId: ZodString; }, $strip>; phase.servicesReady: ZodObject<{ machineId: ZodString; }, $strip>; ready: ZodObject<{ machineId: ZodString; }, $strip>; }>, "kernel"> = KernelNamespace.subjects

Defined in: ../../../packages/kernel/src/namespace/index.ts:31

Kernel subjects for type-safe bus operations.

Subjects:

  • isReady: Probe kernel readiness state (RPC)
  • phase.busCreated: Signal that the bus has been created (event)
  • phase.coreReady: Signal that bus, config, and runtime-host resource handlers are ready (event)
  • phase.servicesReady: Signal that lifecycle wiring and lifecycle.start have completed (event)
  • phase.coordinatorReady: Barrier after extension coordinator has started all packages (broadcast RPC)
  • ready: Signal full kernel initialization complete (event)
  • lifecycle.start: Observability hook — lifecycle wiring complete (RPC)
  • lifecycle.shutdown: Observability hook — lifecycle shutdown complete (RPC)