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;
}
interface CancellableExecution {
    promise: Promise<MangaMatchResult[]>;
    cancel: () => void;
    taskId: string;
}

Properties

Properties

promise: Promise<MangaMatchResult[]>

Promise that resolves to match results

cancel: () => void

Function to cancel the execution

taskId: string

Task ID for tracking