We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4a634 commit 136f627Copy full SHA for 136f627
src/room/participant/LocalParticipant.ts
@@ -1608,7 +1608,7 @@ export default class LocalParticipant extends Participant {
1608
const writableStream = new WritableStream<string>({
1609
// Implement the sink
1610
async write(text) {
1611
- for (const textChunk in splitUtf8(text, STREAM_CHUNK_SIZE)) {
+ for (const textChunk of splitUtf8(text, STREAM_CHUNK_SIZE)) {
1612
await localP.engine.waitForBufferStatusLow(DataPacket_Kind.RELIABLE);
1613
const chunk = new DataStream_Chunk({
1614
content: new TextEncoder().encode(textChunk),
0 commit comments