Constructors

Properties

eventManager: EventManager
logger: Logger
runnerStore: Map<string, ((input: any) => Promise<any>)> = ...
store: Store

Methods

  • Begins the execution of an task. These are registered tasks and all sanity checks have been performed at this stage to ensure consistency of the object. This function can throw only if any of the event listeners or run function throws

    Type Parameters

    Parameters

    • task: ITask<TInput, TOutput, TDeps, undefined>

      the task to be run

    • input: TInput

      the input to be passed to the task

    • OptionaltaskDependencies: DependencyValuesType<TDeps>

      optional dependencies to be passed to the task, if not provided, the dependencies will be the ones already computed from the store.

    Returns Promise<undefined | TOutput>