Download ragflow-main/web/src/utils/store-util.ts from pandaall/ragflow: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/datasets/pandaall/ragflow/resolve/main/ragflow-main/web/src/utils/store-util.ts
- Command line
-
hf download hf://datasets/pandaall/ragflow/ragflow-main/web/src/utils/store-util.ts
-
curl -L -o store-util.ts https://huggingface.co/datasets/pandaall/ragflow/resolve/main/ragflow-main/web/src/utils/store-util.ts
337 Bytes
| export const getOneNamespaceEffectsLoading = ( | |
| namespace: string, | |
| effects: Record<string, boolean>, | |
| effectNames: Array<string>, | |
| ) => { | |
| return effectNames.some( | |
| (effectName) => effects[`${namespace}/${effectName}`], | |
| ); | |
| }; | |
| export const delay = (ms: number) => | |
| new Promise((resolve) => { | |
| setTimeout(resolve, ms); | |
| }); | |