mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 21:21:03 +00:00
Update pipe-ipc.js
This commit is contained in:
parent
1ed17cc5c0
commit
c3cec2bba7
|
@ -90,7 +90,7 @@ function PipeIPC() {
|
||||||
|
|
||||||
if (typeof callback === "function") {
|
if (typeof callback === "function") {
|
||||||
while (isNext) {
|
while (isNext) {
|
||||||
isNext = callback(this, this.read());
|
isNext = callback(this, this.read()) || true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user