Skip to main content
Module

x/denoflow/deps.ts>Adapter

Configuration as Code, use YAML to write automated workflows that run on Deno, with any Deno modules, Typescript/Javascript codes
Latest
interface Adapter
import { type Adapter } from "https://deno.land/x/denoflow@0.0.35/deps.ts";

Properties

optional
awaitReady: Promise<Adapter>

Methods

set(
key: string,
value: any,
namespace: string,
ttl: number,
): this | Promise<this>
get(key: string, namespace: string): KeydbFields | undefined | Promise<KeydbFields | undefined>
delete(key: string, namespace: string): boolean | Promise<boolean>
has(key: string, namespace: string): boolean | Promise<boolean>
clear(namespace: string): this | Promise<this>
keys(namespace: string): string[] | Promise<string[]>
deleteExpired(namespace: string): void | Promise<void>