Blame view

天文台pc/tianwentai-ui/node_modules/@react-dnd/asap/dist/AsapQueue.d.ts 360 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  import type { Task } from './types.js';
  export declare class AsapQueue {
      private queue;
      private pendingErrors;
      private flushing;
      private requestFlush;
      private requestErrorThrow;
      private index;
      private capacity;
      constructor();
      enqueueTask(task: Task): void;
      private flush;
      registerPendingError: (err: any) => void;
  }