@suluk/cloudflare - v0.4.0
    Preparing search index...

    Interface KvLike

    The slice of the Workers KV API this needs (get/put with TTL).

    interface KvLike {
        get(key: string): Promise<string | null>;
        put(
            key: string,
            value: string,
            opts?: { expirationTtl?: number },
        ): Promise<void>;
    }
    Index

    Methods

    Methods

    • Parameters

      • key: string
      • value: string
      • Optionalopts: { expirationTtl?: number }

      Returns Promise<void>