P.c0 -> P._Future__propagateToListeners

This commit is contained in:
shenjack 2024-04-20 15:19:55 +08:00
parent c2e290a1b1
commit b203b84f10
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -3636,7 +3636,7 @@ var A = {
if ((s & 24) !== 0) {
r = b.bI()
b.c1(a)
P.cO(b, r)
P._Future__propagateToListeners(b, r)
} else {
r = b.c
b.a = b.a & 1 | 4
@ -3644,26 +3644,26 @@ var A = {
a.d3(r)
}
},
cO(a, b) {
_Future__propagateToListeners(a, b) {
var s, r, q, p, o, n, m, l, k, j, i, h, g, f = {},
e = f.a = a
t1 = f.a = a
for (s = t.h; true;) {
r = {}
q = e.a
q = t1.a
p = (q & 16) === 0
o = !p
if (b == null) {
if (o && (q & 1) === 0) {
e = e.c
P.iC(e.a, e.b)
t1 = t1.c
P.iC(t1.a, t1.b)
}
return
}
r.a = b
n = b.a
for (e = b; n != null; e = n, n = m) {
e.a = null
P.cO(f.a, e)
for (t1 = b; n != null; t1 = n, n = m) {
t1.a = null
P._Future__propagateToListeners(f.a, t1)
r.a = n
m = n.a
}
@ -3672,11 +3672,11 @@ var A = {
r.b = o
r.c = l
if (p) {
k = e.c
k = t1.c
k = (k & 1) !== 0 || (k & 15) === 8
} else k = true
if (k) {
j = e.b.b
j = t1.b.b
if (o) {
q = q.b === j
q = !(q || q)
@ -3688,30 +3688,30 @@ var A = {
i = $.P
if (i !== j) $.P = j
else i = null
e = e.c
if ((e & 15) === 8) new P._Future__propagateToListeners_handleWhenCompleteCallback(r, f, o).$0()
t1 = t1.c
if ((t1 & 15) === 8) new P._Future__propagateToListeners_handleWhenCompleteCallback(r, f, o).$0()
else if (p) {
if ((e & 1) !== 0) new P._Future__propagateToListeners_handleValueCallback(r, l).$0()
} else if ((e & 2) !== 0) new P._Future__propagateToListeners_handleError(f, r).$0()
if ((t1 & 1) !== 0) new P._Future__propagateToListeners_handleValueCallback(r, l).$0()
} else if ((t1 & 2) !== 0) new P._Future__propagateToListeners_handleError(f, r).$0()
if (i != null) $.P = i
e = r.c
if (s.b(e)) {
t1 = r.c
if (s.b(t1)) {
q = r.a.$ti
q = q.i("bl<2>").b(e) || !q.Q[1].b(e)
q = q.i("bl<2>").b(t1) || !q.Q[1].b(t1)
} else q = false
if (q) {
h = r.a.b
if (e instanceof P._Future)
if ((e.a & 24) !== 0) {
if (t1 instanceof P._Future)
if ((t1.a & 24) !== 0) {
g = h.c
h.c = null
b = h.bJ(g)
h.a = e.a & 30 | h.a & 1
h.c = e.c
f.a = e
h.a = t1.a & 30 | h.a & 1
h.c = t1.c
f.a = t1
continue
} else P.mk(e, h)
else h.cV(e)
} else P.mk(t1, h)
else h.cV(t1)
return
}
}
@ -3719,9 +3719,9 @@ var A = {
g = h.c
h.c = null
b = h.bJ(g)
e = r.b
t1 = r.b
q = r.c
if (!e) {
if (!t1) {
h.a = 8
h.c = q
} else {
@ -3729,7 +3729,7 @@ var A = {
h.c = q
}
f.a = h
e = h
t1 = h
}
},
uz(a, b) {
@ -9932,19 +9932,19 @@ P._Future.prototype = {
r = s.bI()
s.a = 8
s.c = a
P.cO(s, r)
P._Future__propagateToListeners(s, r)
},
c2(a) {
var s = this,
r = s.bI()
s.a = 8
s.c = a
P.cO(s, r)
P._Future__propagateToListeners(s, r)
},
be(a, b) {
var s = this.bI()
this.ex(P.async_error(a, b))
P.cO(this, s)
P._Future__propagateToListeners(this, s)
},
cS(a) {
if (this.$ti.i("bl<1>").b(a)) {
@ -9976,13 +9976,13 @@ P._Future.prototype = {
}
P.kH.prototype = {
$0() {
P.cO(this.a, this.b)
P._Future__propagateToListeners(this.a, this.b)
},
$S: 0
}
P.kO.prototype = {
$0() {
P.cO(this.b, this.a.a)
P._Future__propagateToListeners(this.b, this.a.a)
},
$S: 0
}