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

x/fathym_common/src/deno-kv/enqueueAtomicOperation.ts>enqueueAtomicOperation

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Latest
function enqueueAtomicOperation
import { enqueueAtomicOperation } from "https://deno.land/x/fathym_common@v0.2.167/src/deno-kv/enqueueAtomicOperation.ts";

Enqueues an atomic operation with a nonce and optional delay.

Parameters

The Deno.AtomicOperation to enqueue the operation in.

The message to enqueue.

optional
delay: number

The delay (in milliseconds) before the operation is enqueued. Default is 0.

Returns

The enqueued Deno.AtomicOperation.