Skip to content
1 min read · 45 words

Type Alias: DevGateFn ​

ts
type DevGateFn = (
  ctx: DevGateContext,
  call: DevGateCall,
) => DevGateVerdict | void | Promise<DevGateVerdict | void>;

Defined in: src/batteries/dev_tools/types.ts:242

Gate callback used by the pipeline.

Parameters ​

ParameterType
ctxDevGateContext
callDevGateCall

Returns ​

| DevGateVerdict | void | Promise<DevGateVerdict | void>