Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/src/utils.ts>cache

Export your battles from SplatNet to https://stat.ink
Go to Latest
function cache
import { cache } from "https://deno.land/x/s3si@gui-v0.4.16/src/utils.ts";

Type Parameters

F extends () => Promise<unknown>

Parameters

f: F
optional
unnamed 1: { key?: string; expireIn?: number; } = [UNSUPPORTED]

Returns

() => Promise<PromiseReturnType<F>>