Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
30
frontend/node_modules/es-toolkit/dist/compat/function/delay.d.ts
generated
vendored
Normal file
30
frontend/node_modules/es-toolkit/dist/compat/function/delay.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
//#region src/compat/function/delay.d.ts
|
||||
/**
|
||||
* Invokes the specified function after a delay of the given number of milliseconds.
|
||||
* Any additional arguments are passed to the function when it is invoked.
|
||||
*
|
||||
* @param func - The function to delay.
|
||||
* @param wait - The number of milliseconds to delay the invocation.
|
||||
* @param args - The arguments to pass to the function when it is invoked.
|
||||
* @returns Returns the timer id.
|
||||
* @throws {TypeError} If the first argument is not a function.
|
||||
*
|
||||
* @example
|
||||
* // Example 1: Delayed function execution
|
||||
* const timerId = delay(
|
||||
* (greeting, recipient) => {
|
||||
* console.log(`${greeting}, ${recipient}!`);
|
||||
* },
|
||||
* 1000,
|
||||
* 'Hello',
|
||||
* 'Alice'
|
||||
* );
|
||||
* // => 'Hello, Alice!' will be logged after one second.
|
||||
*
|
||||
* // Example 2: Clearing the timeout before execution
|
||||
* clearTimeout(timerId);
|
||||
* // The function will not be executed because the timeout was cleared.
|
||||
*/
|
||||
declare function delay(func: (...args: any[]) => any, wait: number, ...args: any[]): number;
|
||||
//#endregion
|
||||
export { delay };
|
||||
Loading…
Add table
Add a link
Reference in a new issue