remove unused function

aaa
Rich Harris 8 months ago
parent fcdfb6a857
commit c0f26a1c22

@ -250,24 +250,6 @@ export function boundary(node, props, boundary_fn) {
} }
} }
/**
* @param {Effect | null} effect
* @param {typeof ASYNC_INCREMENT | typeof ASYNC_DECREMENT} trigger
*/
export function trigger_async_boundary(effect, trigger) {
var current = effect;
while (current !== null) {
if ((current.f & BOUNDARY_EFFECT) !== 0) {
// @ts-ignore
if (current.fn(trigger)) {
return;
}
}
current = current.parent;
}
}
// TODO separate this stuff out — suspending and context preservation should // TODO separate this stuff out — suspending and context preservation should
// be distinct concepts // be distinct concepts

Loading…
Cancel
Save