Compartilhar via


WaterfallStep type

Assinatura de função de uma etapa de cascata individual.

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