Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "api/registration/PushImpactListenerRegistration"

Index

Type aliases

DefaultPushImpactListenerResult

DefaultPushImpactListenerResult: void | PushImpactResponse

PushImpactListener

PushImpactListener<R>: (i: PushImpactListenerInvocation) => Promise<R>

Reaction on a push, with the code available. Can optionally return a response that determines whether to ask for approval or terminate current delivery flow.

Type parameters

  • R = DefaultPushImpactListenerResult

Type declaration

PushImpactListenerRegisterable

PushImpactListenerRegisterable<R>: PushImpactListenerRegistration<R> | PushImpactListener<R>

Something we can register as a push reaction

Type parameters

  • R = DefaultPushImpactListenerResult

PushImpactListenerRegistration

PushImpactListenerRegistration<R>: PushRegistration<PushImpactListener<R>>

Used to register actions on a push that can potentially influence downstream goals. Will be invoked if a PushReactionGoal has been set for the given push. Use ReviewerRegistration if you want to return a structured review.

Type parameters

  • R = DefaultPushImpactListenerResult

Functions

isPushReactionRegistration

toPushReactionRegistration

Generated using TypeDoc