feat: rename childprocess to subprocess

This commit is contained in:
Simon Chan 2022-02-15 23:18:39 +08:00
parent 443190e22a
commit 1a8891d4fc
22 changed files with 185 additions and 211 deletions

View file

@ -103,6 +103,9 @@ export class AdbWebUsbBackend implements AdbBackend {
cancel: () => {
this.dispose();
},
}, {
highWaterMark: 16 * 1024,
size(chunk) { return chunk.byteLength; },
});
if (this._writable !== undefined) {
this._connected = true;
@ -117,6 +120,9 @@ export class AdbWebUsbBackend implements AdbBackend {
close: () => {
this.dispose();
},
}, {
highWaterMark: 16 * 1024,
size(chunk) { return chunk.byteLength; },
});
if (this.readable !== undefined) {
this._connected = true;