Skip to content

WebhooksHooks

type WebhooksHooks = Hooks<BeforeEvent, AfterEvent>;

Defined in: src/hooks/contract.ts:165

Lifecycle hooks: before may deny a mutation by throwing (sequential, the first throw aborts); after observes committed changes (concurrent, errors isolated and reported).