• Use the specHelper to run a task. Note: this only runs the task's run() method, and no middleware. This is faster than api.specHelper.runFullTask.

    Type Parameters

    • T extends void | Task = void

    Parameters

    • taskName: string
    • params: object | any[]

    Returns Promise<(T extends Task
        ? AsyncReturnType<T["run"]>
        : {
            [key: string]: any;
        }) & {
        error?: string | ErrnoException;
    }>

Generated using TypeDoc