Partager via


WaterfallStep type

Signature de fonction d’une étape en cascade individuelle.

type WaterfallStep<O extends object = {}> = (step: WaterfallStepContext<O>) => Promise<DialogTurnResult>;
type WaterfallStep<O> = (
  step: WaterfallStepContext<O>
) => Promise<DialogTurnResult>