Download frontend/node_modules/next/dist/lib/coalesced-function.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/lib/coalesced-function.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/lib/coalesced-function.d.ts
-
curl -L -o coalesced-function.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/lib/coalesced-function.d.ts
327 Bytes
| type CoalescedInvoke<T> = { | |
| isOrigin: boolean; | |
| value: T; | |
| }; | |
| export type UnwrapPromise<T> = T extends Promise<infer U> ? U : T; | |
| export declare function withCoalescedInvoke<F extends (...args: any) => any>(func: F): (key: string, args: Parameters<F>) => Promise<CoalescedInvoke<UnwrapPromise<ReturnType<F>>>>; | |
| export {}; | |