Files
iptvnator/libs/services
4grayandClaude Opus 5.5 6e44aef3c8 fix(services): writes wait for Delete All before they queue; restores replace only settled lists
Delete All, third variant: a write that arrived after Delete All waited
for it inside its playlist's queue. A Stalker repair that reserved that
playlist meanwhile skipped the barrier, but its write still queued
behind that waiting one, while the reset waited for the repair's
reservation. While a Delete All runs, writes now wait for it before they
join their queue, so no queue holds work blocked on the reset; a write
under a reservation held here joins at once.

A restore replaced lists while this page's own write for the playlist
was still unsent (refused, or lost): that write's edits joined the
replacement and a conflict replay kept items the backup did not have.
Both restore paths now require the playlist's writes to be on the
server first (flushed), and otherwise stay parked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 21:28:13 +02:00
..

services

Shared runtime data access: injectable services, stores and runtime bridges used across the renderer. It also hosts injectTranslationTick(), the signal every computed that calls TranslateService.instant reads (see "Translated Text" in the UI guidelines).

This library was generated with Nx.

Running unit tests

Run nx test services to execute the unit tests.