Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/general.ts>cacheData

A framework for Beat Saber map scripting.
Go to Latest
function cacheData
import { cacheData } from "https://deno.land/x/remapper@3.0.0/src/general.ts";

Store data in the ReMapper cache. Retrieves the same data unless specified parameters are changed.

Parameters

name: string

Name of the data.

process: () => T

Function to generate new data if the parameters are changed.

optional
processing: any[] = [UNSUPPORTED]

Parameters to compare to see if data should be re-cached.