Aller au contenu principal

Function: activateServerPlugin()

activateServerPlugin(runtime, definition, api): Promise<void>

Defined in: packages/plugin-sdk/src/runtime.ts:182

Activate a backend plugin with host-enforced route/event/provider cleanup.

Parameters​

runtime​

PluginRuntime<ServerPluginDefinition>

definition​

ServerPluginDefinition

api​

ServerPluginApi

Returns​

Promise<void>

Deprecated​

See PluginRuntime — the production host does not use this.