method WorkersQueue.prototype.addRecurring
WorkersQueue.prototype.addRecurring<T>(
name: string,
_data: T,
options: RecurringOptions
): Promise<void>

Not supported on Cloudflare Queues.

Type Parameters

The payload type

Parameters

name: string

Job name

_data: T

Ignored

options: RecurringOptions

The cron expression that cannot be honored here

Return Type

Promise<void>

Never resolves

Throws

CloudflareUnsupportedError

Always

Usage

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