@valon-technologies/gestalt
    Preparing search index...

    Client for invoking a host-provided cache over the Gestalt transport.

    import { Cache } from "@valon-technologies/gestalt";

    const cache = new Cache();
    await cache.set("session", new TextEncoder().encode("hello"));
    Index

    Constructors

    Methods

    • Parameters

      • key: string

      Returns Promise<Uint8Array<ArrayBufferLike> | undefined>

    • Parameters

      • keys: string[]

      Returns Promise<Record<string, Uint8Array<ArrayBufferLike>>>

    • Parameters

      • key: string

      Returns Promise<boolean>

    • Parameters

      • keys: string[]

      Returns Promise<number | bigint>

    • Parameters

      • key: string
      • ttlMs: number

      Returns Promise<boolean>