interface ScheduledJob
Since 0.1.0

A scheduled job instance handed to the handler.

Type Parameters

T = unknown

The shape of the job payload

Properties

readonly
id: string

Unique job identifier.

readonly
name: string

Human-readable job name.

readonly
data: T

Payload data supplied by the caller.

readonly
attempts: number

Current attempt number (1-based).

Usage

import { type ScheduledJob } from "common/src/index.ts";