/* ============================================================================ * async-guard — tiny concurrency helper shared by the frontend. * * Keeps long-running native operations (offline-cache download/delete, playlist * mutations) from being triggered twice at once for the same target, so the UI * stays responsive and on-device state can't be corrupted by rapid clicks. * * Framework-free and dependency-free on purpose: * • Loads as a plain