Skip to content

Type Alias: VetoHandler

type VetoHandler = (ctx) => void | Promise<void>;

Veto listener: sync or async; throwing vetoes the operation.

Parameters

Parameter Type
ctx PreSaveContext

Returns

void | Promise\<void>