Function getBindingArgumentsForClassMethodAsync

  • Creates an instance of class with injected constructor dependencies asynchronously.

    Type Parameters

    Parameters

    • module: M
    • cls: TClassConstructor<T>
    • methodName: null | string

      method name or null if constructor

    • args: Record<number, any>

      class constructor static arguments

    • ctx: TProvideContext

    Returns Promise<any[]>