( item: QueueItem, candidates: StreamCandidate[], )
| 78 | }; |
| 79 | |
| 80 | const updateItemCandidates = ( |
| 81 | item: QueueItem, |
| 82 | candidates: StreamCandidate[], |
| 83 | ): void => { |
| 84 | useQueueStore.getState().updateItemState(item.id, { |
| 85 | track: { ...item.track, streamCandidates: candidates }, |
| 86 | }); |
| 87 | }; |
| 88 | |
| 89 | const haveCandidatesGoneStale = (candidates: StreamCandidate[]): boolean => { |
| 90 | const expiryMs = useSettingsStore |
no test coverage detected