Emits a user-facing notification.
Text to display.
Optionallevel: NotifyLevelSeverity level (default: "info").
Registers the active renderer and flushes any buffered messages. Calling this a second time replaces the previous renderer.
Function that displays one notification.
Detaches the active renderer, returning the primitive to its pre-boot behaviour (buffer + console fallback). A renderer that is torn down MUST call this, or the primitive keeps handing messages to a dead renderer that silently drops them — and the console fallback never fires, because the primitive believes it still has somewhere to render.
Optionalrenderer: NotifyRendererThe renderer to detach. Passing the one currently registered clears it; passing any other value is a no-op, so a late teardown cannot unregister a renderer that replaced it in the meantime. Omit the argument to clear unconditionally.
Drains the internal queue, forwarding each buffered message to the currently registered renderer. No-op if no renderer is registered.
Lightweight notify primitive interface.
Responsibilities:
consolewhen no renderer is registered.