Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
interface ResponseCacheStore
import { type ResponseCacheStore } from "https://deno.land/x/alosaur@v0.35.2/src/hooks/response-cache/response-cache-store.interface.ts";

Methods

create<T>(hash: string, payload: ResponseCacheResult<T>): Promise<void>

Create hash in store

delete(hash: string): Promise<void>

Delete cache by hash

get<T>(hash: string): Promise<ResponseCacheResult<T>>

Get object value by hash