|
|
|
@ -1,6 +1,12 @@
|
|
|
|
|
/** @import { ComponentContext, Derived, Effect, Reaction, Signal, Source, Value } from '#client' */
|
|
|
|
|
import { DEV } from 'esm-env';
|
|
|
|
|
import { define_property, get_descriptors, get_prototype_of, index_of } from '../shared/utils.js';
|
|
|
|
|
import {
|
|
|
|
|
deferred,
|
|
|
|
|
define_property,
|
|
|
|
|
get_descriptors,
|
|
|
|
|
get_prototype_of,
|
|
|
|
|
index_of
|
|
|
|
|
} from '../shared/utils.js';
|
|
|
|
|
import {
|
|
|
|
|
destroy_block_effect_children,
|
|
|
|
|
destroy_effect_children,
|
|
|
|
@ -893,7 +899,7 @@ export async function tick() {
|
|
|
|
|
* @returns {Promise<void>}
|
|
|
|
|
*/
|
|
|
|
|
export function settled() {
|
|
|
|
|
return (Batch.ensure().deferred ??= Promise.withResolvers()).promise;
|
|
|
|
|
return (Batch.ensure().deferred ??= deferred()).promise;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|