import { cacheOrGet } from "./cacheOrGet" import { deleteKey } from "./deleteKey" import { deleteKeys } from "./deleteKeys" import { get } from "./get" import { set } from "./set" import type { DataCache } from "../../Cache" export async function createInMemoryCache(): Promise { return { type: "in-memory", cacheOrGet, deleteKey, get, set, deleteKeys } }