Kaizen
Browse modulesInsightsinsights/serverInterfaces

Interface: AskHooks

Defined in: server/insights/ask/report-drafter.ts:93

Additive InsightsHooks extension for the Ask surface. Kept local so this PR does not have to widen deps.ts; a consumer hooks object that declares onAskDrafted is structurally assignable to both.

Methods

onAskDrafted()?

optional onAskDrafted(info: AskDraftedInfo): void | Promise<void>;

Defined in: server/insights/ask/report-drafter.ts:98

Fires once per AskService.draft call — after the retry, if there was one — whether or not drafting succeeded.

Parameters

ParameterType
infoAskDraftedInfo

Returns

void | Promise<void>

On this page