x/darkflare/core/cron.ts
1234567891011import type { Context } from './Context.d.ts'export interface CronContext extends Context { cron: string scheduledTime: Date}export function cron(handler: (c: CronContext) => Promise<void> | void) { return handler}