@datatrue/api
    Preparing search index...

    Interface Runnable

    interface Runnable {
        jobID?: string;
        progress(): Promise<JobStatus>;
        run(
            email_users?: number[],
            variables?: Record<string, any>,
        ): Promise<string>;
    }

    Implemented by

    Index
    jobID?: string
    • Run the resource in DataTrue

      Parameters

      • Optionalemail_users: number[]

        an array of user IDs to whom the test results should be sent

      • Optionalvariables: Record<string, any>

        variables to set for the test run

      Returns Promise<string>

      Promise of the jobID