interface ModuleTask<TEndpoints extends string = string> {
    endPoint?: TEndpoints;
    input?: string | boolean | string[];
    mod: string;
    required?: boolean;
}

Type Parameters

  • TEndpoints extends string = string

Properties

endPoint?: TEndpoints

the name of the endPoint that is being called. If not specified, the default endPoint is used

input?: string | boolean | string[]

determines what inputs are sent to each module - if string, that is the output from other module (name/address)

mod: string

the modules that performs the task

required?: boolean