UNPKG

signalk-server

Version:

An implementation of a [Signal K](http://signalk.org) server for boats.

25 lines 853 B
/** * Start a WASM plugin */ export declare function startWasmPlugin(app: any, pluginId: string): Promise<void>; /** * Stop a WASM plugin */ export declare function stopWasmPlugin(pluginId: string): Promise<void>; /** * Unload a WASM plugin completely (remove from memory and unregister routes) */ export declare function unloadWasmPlugin(app: any, pluginId: string): Promise<void>; /** * Reload a WASM plugin (hot-reload without server restart) */ export declare function reloadWasmPlugin(app: any, pluginId: string): Promise<void>; /** * Handle WASM plugin crash with automatic restart */ export declare function handleWasmPluginCrash(app: any, pluginId: string, error: Error): Promise<void>; /** * Shutdown all WASM plugins */ export declare function shutdownAllWasmPlugins(): Promise<void>; //# sourceMappingURL=plugin-lifecycle.d.ts.map