Handles the execution of a task, including dependency resolution and argument handling.

Constructors

Properties

logger: Logger = ...

Logger instance for the _Perform class.

task: Core.Task

The task to be executed.

Methods

  • Private

    Handles the application argument if specified in the task.

    Parameters

    • app: INestApplication<any>

      The Nest application instance.

    • args: Core.Types.Perform.Argument[]

      The array of arguments for the task.

    Returns Promise<void>

    Async

    Method

  • Private

    Handles the DTO (Data Transfer Object) argument if specified in the task.

    Parameters

    Returns Promise<void>

    Async

    Method

  • Private

    Resolves dependencies based on the provided application and providers.

    Parameters

    • app: INestApplication<any>

      The Nest application instance.

    • providers: AnyClass<any, any>[]

      The providers associated with the task.

    Returns ResolveDependencies

    A function to resolve dependencies for the task.

    Method

  • Asynchronously runs the task, handling dependencies, validation, and execution.

    Returns Promise<void>

    A Promise that resolves when the task has been executed.

    Async

    Method

Generated using TypeDoc