Skip to content

Commit 511c4f1

Browse files
committed
lint
1 parent 97d3492 commit 511c4f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/livekit-rtc/src/async_queue.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ export class AsyncQueue<T> {
6565
close() {
6666
this.closed = true;
6767
// Reject all waiting producers with an error
68-
this.waitingProducers.toArray().forEach((producer) => producer.reject(new Error('Queue closed')));
68+
this.waitingProducers
69+
.toArray()
70+
.forEach((producer) => producer.reject(new Error('Queue closed')));
6971
// Resolve all waiting consumers so they can see the queue is closed
7072
this.waitingConsumers.toArray().forEach((resolve) => resolve());
7173
this.waitingProducers.clear();

packages/livekit-rtc/src/audio_mixer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-FileCopyrightText: 2025 LiveKit, Inc.
22
//
33
// SPDX-License-Identifier: Apache-2.0
4-
import { AudioFrame } from './audio_frame.js';
54
import { AsyncQueue } from './async_queue.js';
5+
import { AudioFrame } from './audio_frame.js';
66

77
// Re-export AsyncQueue for backward compatibility
88
export { AsyncQueue } from './async_queue.js';

0 commit comments

Comments
 (0)