mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 20:56:19 -08:00
perf(m3u): stop cancelled refresh workers (#1268)
This commit is contained in:
1 parent
7e8c2ccce1
commit
f147d4fe37
28 files changed
+3205
-89
No files matched your search
@@ -21,6 +21,7 @@ import {
|
||||
XtreamBackupRecentlyViewedItem,
|
||||
} from './playlist-backup.interface';
|
||||
import {
|
||||
PlaylistRefreshCancelledResult,
|
||||
PlaylistRefreshEvent,
|
||||
PlaylistRefreshPayload,
|
||||
} from './playlist-refresh.interface';
|
||||
@@ -671,7 +672,9 @@ export interface ElectronBridgeApi {
|
||||
url: string,
|
||||
method?: 'GET' | 'HEAD'
|
||||
) => Promise<ElectronBridgeXtreamProbeResult>;
|
||||
refreshPlaylist: (payload: PlaylistRefreshPayload) => Promise<Playlist>;
|
||||
refreshPlaylist: (
|
||||
payload: PlaylistRefreshPayload
|
||||
) => Promise<Playlist | PlaylistRefreshCancelledResult>;
|
||||
cancelPlaylistRefresh: (
|
||||
operationId: string
|
||||
) => Promise<ElectronBridgeResult>;
|
||||
|
||||
Reference in new issue
Block a user