feat: add media queue foundation

This commit is contained in:
MythEclipse
2026-05-15 16:56:50 +07:00
parent d42d3f8def
commit 3b6bf49160

View File

@@ -9,7 +9,7 @@ export class MediaQueue {
private readonly items: MediaQueueItem[] = []; private readonly items: MediaQueueItem[] = [];
constructor( constructor(
private readonly createId = () => crypto.randomUUID(), private readonly createId: () => string = () => crypto.randomUUID(),
private readonly now = () => Date.now(), private readonly now = () => Date.now(),
) {} ) {}