OrchestrationHandler type

Tipo di generatore che può essere registrato come orchestrazione

type OrchestrationHandler = (
  context: OrchestrationContext
) => Generator<Task, unknown, any>