This commit is contained in:
2025-11-11 00:04:55 -06:00
parent a76ad41fde
commit 40538eddfd
6405 changed files with 1289756 additions and 0 deletions

23
build/p2p/talkback.js Normal file
View File

@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TalkbackStream = void 0;
const stream_1 = require("stream");
class TalkbackStream extends stream_1.Transform {
isStreaming = false;
constructor() {
super();
}
_transform(data, _encoding, callback) {
if (this.isStreaming)
this.push(data);
callback();
}
startTalkback() {
this.isStreaming = true;
}
stopTalkback() {
this.isStreaming = false;
}
}
exports.TalkbackStream = TalkbackStream;
//# sourceMappingURL=talkback.js.map