UNPKG

cf-workers-query

Version:

Automatically cache and revalidate data in Cloudflare Workers. Using the Cache API and Execution Context

10 lines (7 loc) 306 B
import { Q as QueryKey } from './create-query-BaMMwngc.cjs'; export { C as CacheApiAdaptor, c as createQuery } from './create-query-BaMMwngc.cjs'; declare const invalidateQuery: ({ queryKey, cacheName, }: { queryKey: QueryKey; cacheName?: string; }) => Promise<void>; export { invalidateQuery };