Skip to content

PipelineBehaviorEntry

PipelineBehaviorEntry<TBehavior, TOptions> = Constructor<TBehavior> | PipelineBehaviorTuple<TBehavior, TOptions>

Defined in: packages/pipeline/src/entries.ts:19

A pipeline behavior entry can be either:

  • A behavior class: LoggingBehavior
  • A tuple of behavior class and options: [AuditBehavior, { action: 'user.create', severity: 'high' }]

TBehavior extends IPipelineBehavior = IPipelineBehavior

TOptions extends object = object