Class DependencyProcessor

This class is responsible of setting up dependencies with their respective computedValues. Note that all elements must have been previously registered otherwise errors will be thrown when trying to depend on something not in the store.

Constructors

Properties

eventManager: EventManager
logger: Logger
resourceInitializer: ResourceInitializer
store: Store
taskRunner: TaskRunner

Methods

  • This function is going to go through all the resources, tasks and middleware to compute their required dependencies.

    Returns Promise<void>

  • Converts the event into a running functions with real inputs

    Parameters

    • object: IEvent<any>
    • source: string

    Returns ((input: any) => Promise<void>)

      • (input): Promise<void>
      • Parameters

        • input: any

        Returns Promise<void>