UNPKG

react-dynamic-virtual-tree

Version:

Library for visualizing nested lists with dynamically changing sizes.

10 lines (9 loc) 243 B
export type Task = () => void; export interface TaskObj { taskId: string; task: Task; readyCallback: () => void; } export declare const queueObj: { pushTask: (taskId: string, task: Task, priority?: number) => Promise<void>; };