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