Compartir a través de


WaterfallStep type

Firma de función de un paso de cascada individual.

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