mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
refactor: 废弃部分代码
This commit is contained in:
parent
8004553ba7
commit
0afbbe7c7a
@ -1,7 +1,7 @@
|
||||
import { sleep } from '@/common/utils/helper';
|
||||
import { logError } from './log';
|
||||
type AsyncQueueTask = (() => void) | (()=>Promise<void>);
|
||||
|
||||
// 2024.7.13 废弃
|
||||
|
||||
export class AsyncQueue {
|
||||
private tasks: (AsyncQueueTask)[] = [];
|
||||
|
@ -21,10 +21,7 @@ import { ISizeCalculationResult } from 'image-size/dist/types/interface';
|
||||
import { sessionConfig } from '@/core/sessionConfig';
|
||||
import { randomUUID } from 'crypto';
|
||||
import { rkeyManager } from '../utils/rkey';
|
||||
import { AsyncQueue } from '@/common/utils/AsyncQueue';
|
||||
// const rkeyExpireTime = 1000;
|
||||
|
||||
const getRKeyTaskQueue = new AsyncQueue();
|
||||
|
||||
const downloadMediaTasks: Map<string, (arg: OnRichMediaDownloadCompleteParams) => void> = new Map<string, (arg: OnRichMediaDownloadCompleteParams) => void>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user