import { normalizeAgentId } from "../../routing/session-key.js"; import { normalizeOptionalString } from "../../shared/string-coerce.js"; import { truncateUtf16Safe } from "../../utils.js"; import type { CronPayload } from "../types.js";
export function normalizeRequiredName(raw: unknown) { if (typeof raw !== "string") { thrownew Error("cron job name is required");
} const name = raw.trim(); if (!name) { thrownew Error("cron job name is required");
} return name;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.