Skip to main content
Module

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

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function enqueueAtomicOperation
import { enqueueAtomicOperation } from "https://deno.land/x/fathym_common@v0.2.147-integration/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.