Create a cron job that will periodically execute the provided handlercallback based on the specified schedule.
Open a new Deno.Kv
connection to persist data.
A check to perform as part of a Deno.AtomicOperation
. The checkwill fail if the versionstamp for the key-value pair in the KV store doesnot match the given versionstamp. A check with a null
versionstamp checksthat the key-value pair does not currently exist in the KV store.
CronSchedule is the interface used for JSON formatcron schedule
.
Options for listing key-value pairs in a Deno.Kv
.
CronScheduleExpression is used as the type of minute
, hour
,dayOfMonth
, month
, and dayOfWeek
in CronSchedule
.
Consistency level of a KV operation.
An optional versioned pair of key and value in a Deno.Kv
.
A key to be persisted in a Deno.Kv
. A key is a sequenceof Deno.KvKeyPart
s.
A single part of a Deno.KvKey
. Parts are orderedlexicographically, first by their type, and within a given type by theirvalue.
A selector that selects the range of data returned by a list operation on aDeno.Kv
.
A mutation to a key in a Deno.Kv
. A mutation is acombination of a key, a value, and a type. The type determines how themutation is applied to the key.