Skip to content

buildJobName

function buildJobName(namespace, name): string;

Defined in: tsed/src/utils/build-job-name.ts:15

Build the full job name by combining namespace and name.

ParameterTypeDescription
namespacestring | undefinedOptional namespace from
namestringJob name from

string

Full job name (e.g., “email.send” or just “send”)

or

buildJobName("email", "send"); // "email.send"
buildJobName(undefined, "send"); // "send"
buildJobName("", "send"); // "send"