interface JobIdSource
Since 0.2.0

The id source this queue needs. IRuntimeServices satisfies it.

A source rather than a direct crypto.randomUUID() call, because AI_GUIDELINES §4.2 routes every runtime capability through IRuntimeServices — which is also why the plugin, not the application, constructs this class.

Methods

uuid(): string

A fresh unique id.

Usage

import { type JobIdSource } from "cloudflare-plugin/src/index.ts";