UNPKG

@zxh19890103/wik

Version:

The world-class JavaScript library for building large-scale digital warehouse both on 2D and 3D.

18 lines (17 loc) 361 B
interface Task { context?: any; args?: any[]; /** * 对于相同 key 值的 task,视为同一个,仅仅更新字段 */ key: string; /** * method's name or method */ run: string | ((...args: any[]) => void); } /** * 用于函数的异步调度 */ export declare const queueTask: (task: Task) => void; export {};