Files
马登山 5bffcd8b0b fix: fmt
2026-03-19 12:44:41 +08:00

7 lines
170 B
TypeScript

import { randomUUID } from "./functions"
export function createTaskId(seed: string): string {
const prefix = Date.now()
return `${prefix}-${randomUUID()}-${seed}`
}