feat: add media queue foundation
This commit is contained in:
@@ -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(),
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user