effect-abort
Dominic Gannaway 3 weeks ago
parent d2d1b201b5
commit 54d2bd3522

@ -52,7 +52,7 @@ export interface Effect extends Reaction {
/** The effect function */
fn: null | (() => void | (() => void));
/** The teardown function returned from the effect function */
teardown: null | (() => void) | AbortController;
teardown: null | (() => void);
/** Transition managers created with `$.transition` */
transitions: null | TransitionManager[];
/** Next sibling child effect created inside the parent signal */

@ -1,6 +1,6 @@
/** @import { ComponentContext, Derived, Effect, Reaction, Signal, Source, Value } from '#client' */
import { DEV } from 'esm-env';
import { define_property, get_descriptors, get_prototype_of, run_all } from '../shared/utils.js';
import { define_property, get_descriptors, get_prototype_of } from '../shared/utils.js';
import {
destroy_block_effect_children,
destroy_effect_children,

Loading…
Cancel
Save