trigger.dev
Version:
A Command-Line Interface for Trigger.dev projects
8 lines (7 loc) • 426 B
TypeScript
/**
* If the indexer found webhook declarations the server would refuse (a duplicate endpoint id, a
* subscriber on an undefined endpoint, a reused subscriber id), report them to the parent via
* WEBHOOKS_FAILED_TO_INDEX and return true. Callers must stop indexing (skip INDEX_COMPLETE) when
* this returns true.
*/
export declare function reportWebhookIndexingErrors(send: (message: unknown) => void): Promise<boolean>;