|
|
@ -3325,6 +3325,13 @@ declare namespace $effect {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function pre(fn: () => void | (() => void)): void;
|
|
|
|
export function pre(fn: () => void | (() => void)): void;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Returns the number of promises that are pending in the current boundary, not including child boundaries.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* https://svelte.dev/docs/svelte/$effect#$effect.pending
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
export function pending(): number;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* The `$effect.tracking` rune is an advanced feature that tells you whether or not the code is running inside a tracking context, such as an effect or inside your template.
|
|
|
|
* The `$effect.tracking` rune is an advanced feature that tells you whether or not the code is running inside a tracking context, such as an effect or inside your template.
|
|
|
|
*
|
|
|
|
*
|
|
|
|