Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function withDFSCache
Re-export
import { withDFSCache } from "https://deno.land/x/fathym_eac_runtime@v0.1.54/mod.ts";

Parameters

filePath: string
loadFile: () => Promise<DFSFileInfo | undefined>
revision: number
optional
cacheDb: Deno.Kv
optional
cacheSeconds: number

Returns

Promise<DFSFileInfo | undefined>