For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/types/ShutdownFunctionType.md.

Type Alias: ShutdownFunctionType<PerPlayerStorageType>

ShutdownFunctionType<PerPlayerStorageType> = (uiSession) => void

Beta

Callback type when an extension instance is shutdown for a given player. Used for performing any final work or clean up that can't be handled automatically via Disposables.

Type Parameters

PerPlayerStorageType

PerPlayerStorageType

Parameters

uiSession

IPlayerUISession<PerPlayerStorageType>

Returns

void