@ -498,6 +498,9 @@ export function add_boundary_callback(boundary, fn) {
boundary.fn(ADD_CALLBACK, fn);
}
/**
* @returns {boolean}
*/
export function isPending() {
var effect = active_effect;
var boundary = get_boundary(effect);
@ -419,6 +419,7 @@ declare module 'svelte' {
render: () => string;
setup?: (element: Element) => void | (() => void);
}): Snippet<Params>;
export function isPending(): boolean;
/** Anything except a function */
type NotFunction<T> = T extends Function ? never : T;