LogoRobo.js
Framework

StopContext<TConfig>

Interface: StopContext<TConfig>

Context provided to stop hooks. Runs SEQUENTIALLY: project first → plugins in REVERSE order.

Extends

Type Parameters

Type ParameterDefault type
TConfigunknown

Properties

PropertyTypeDescriptionInherited from
envtypeof EnvEnvironment variable access.StartContext.env
loggerLoggerLogger instance prefixed with plugin name.StartContext.logger
meta{ name: string; version: string; }Plugin metadata.StartContext.meta
meta.namestringPackage name-
meta.versionstringPackage version-
modestringCurrent runtime mode (supports custom modes like 'beta', 'staging', etc.).StartContext.mode
pluginConfigTConfigPlugin's configuration from user's /config/plugins/. Typed based on plugin's config schema.StartContext.pluginConfig
portal?unknownPortal access scoped to this plugin's routes. Reserved for future route system (Phase 3).StartContext.portal
projectConfigConfigFull project configuration.StartContext.projectConfig
reason"error" | "signal" | "restart"Reason for shutdown. - 'signal': SIGTERM/SIGINT received - 'error': Uncaught exception - 'restart': HMR restart (though stop hooks typically don't run on restart)-
statePluginStatePlugin-scoped state storage. Isolated from other plugins.StartContext.state

On this page