* Memoize an async function's result using blob storage, keyed by the val's version
* @param fn The async function to memoize
* @param metaUrl The import.meta.url of the current val
* @returns The result of the memoized function
0
stainless_em
httpCache
Script
* Wraps a server function to add ETag-based caching
* @param serverFn The original server function to be wrapped
* @returns A new server function with caching logic
0
stainless_em
brainrotdb
Script
// Ensure table exists
1
stainless_em
brainrotdeps
HTTP
An interactive, runnable TypeScript val by stainless_em