fix
This commit is contained in:
1 parent
c2c1f7b6d4
commit
beac221dc6
1 file changed
+1
-1
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user