Appearance
Type Alias: SkillStopCallback()
ts
type SkillStopCallback = (info: SkillStopInfo) => Promise<void> | void;Defined in: packages/sdk/src/context/index.ts:71
Cleanup callback registered via Context.onStop. May be async — the runtime awaits it, subject to the shared cleanup budget (see Context.onStop). A throwing or rejecting callback is caught and logged and does not block the remaining callbacks.
Parameters
| Parameter | Type |
|---|---|
info | SkillStopInfo |
Returns
Promise<void> | void