fix: I WAS INCORRECT HHEHE

This commit is contained in:
orion 2024-05-14 13:44:33 -05:00
parent 7076b13df4
commit c8822aeffe
Signed by: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -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;
}