import { cache } from "https://deno.land/x/proc@0.21.5/tools/deps/proc.ts";
fetch and put in one step.
Example
const peerings = await cache.cache(
"vpc-peerings",
async () => await proc.enumerate(allPeerings()).collect(),
{ timeout: 4 * HOURS },
);