Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Jan 4, 2025
1 parent 574c8c6 commit a66f5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/cancel-task.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type TaskExecutor<T> = (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: (callback: () => void) => void) => void;
export type TaskExecutor<T> = (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: (callback: () => void) => void) => void;

export class CancelableTask<T> {
private promise: Promise<T>;
Expand Down

0 comments on commit a66f5e4

Please sign in to comment.