mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 13:10:16 +08:00
fix
This commit is contained in:
parent
574c8c6089
commit
a66f5e4971
@ -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> {
|
export class CancelableTask<T> {
|
||||||
private promise: Promise<T>;
|
private promise: Promise<T>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user