Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kv_cron/kv_cron.ts>makeKvCron

Use Deno Kv API to register cronjobs.
Latest
function makeKvCron
import { makeKvCron } from "https://deno.land/x/kv_cron@0.0.2/kv_cron.ts";

makeKvCron creates a cron job manager.

Returns

{ enqueue(name: keyof T, options: EnqueueOptions): Promise<Deno.KvCommitResult>; process(data: unknown, date?: Date): void | Promise<void>; }