Result wrapper for a cancellable matching execution.
export interface CancellableExecution { /** * Promise that resolves to match results */ promise: Promise<MangaMatchResult[]>; /** * Function to cancel the execution */ cancel: () => void; /** * Task ID for tracking */ taskId: string;} Copy
export interface CancellableExecution { /** * Promise that resolves to match results */ promise: Promise<MangaMatchResult[]>; /** * Function to cancel the execution */ cancel: () => void; /** * Task ID for tracking */ taskId: string;}
Promise that resolves to match results
Function to cancel the execution
Task ID for tracking
Result wrapper for a cancellable matching execution.
Source