this change appears to be no longer necessary

pull/18062/merge
Rich Harris 3 months ago
parent b15015b992
commit 261dc4175f

@ -246,9 +246,8 @@ export function async_derived(fn, label, location) {
return new Promise((fulfil) => {
/** @param {Promise<V>} p */
function next(p) {
/** @param {unknown} v */
function go(v) {
if (p === promise || v !== STALE_REACTION) {
function go() {
if (p === promise) {
fulfil(signal);
} else {
// if the effect re-runs before the initial promise

Loading…
Cancel
Save