stainless_em avatar
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 avatar
stainless_em
memoizeByVersion
Script
* 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
1
Next
stainless_em-brainrotdeps.web.val.run
Updated: February 18, 2025