UNPKG

@xyflow/react

Version:

React Flow - A highly customizable React library for building node-based editors and interactive flow charts.

11 lines 365 B
import { Queue, QueueItem } from './types'; /** * This hook returns a queue that can be used to batch updates. * * @param runQueue - a function that gets called when the queue is flushed * @internal * * @returns a Queue object */ export declare function useQueue<T>(runQueue: (items: QueueItem<T>[]) => void): Queue<T>; //# sourceMappingURL=useQueue.d.ts.map