fix: I WAS INCORRECT HHEHE
This commit is contained in:
parent
7076b13df4
commit
c8822aeffe
@ -30,7 +30,7 @@ export const writeImpl =
|
|||||||
(s) =>
|
(s) =>
|
||||||
(a) =>
|
(a) =>
|
||||||
() => {
|
() => {
|
||||||
if (s.closed || s.writableEnded) {
|
if (s.writableEnded) {
|
||||||
return closed;
|
return closed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ export const readImpl =
|
|||||||
({ just, closed, wouldBlock }) =>
|
({ just, closed, wouldBlock }) =>
|
||||||
(s) =>
|
(s) =>
|
||||||
() => {
|
() => {
|
||||||
if (s.closed || s.readableEnded) {
|
if (s.readableEnded) {
|
||||||
return closed;
|
return closed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user