Documentation
    Preparing search index...

    Type Alias ModuleCallable<T, Args>

    ModuleCallable: T extends undefined
        ? (
            resolver: ContainerResolver<any> | Container<any>,
            ...args: Args,
        ) => Promise<any>
        : (...args: Args) => Promise<any>

    The shape of the function that imports a module expression and runs it using the container

    Type Parameters

    • T

      The module type

    • Args extends any[]

      Function arguments type

    Container resolver or container instance

    Function arguments

    Promise of any value