UNPKG

@matthewgapp/solidjs-flow

Version:

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

8 lines (6 loc) 173 B
export type QueueItem<T> = T[] | ((items: T[]) => T[]); export type Queue<T> = { get: () => QueueItem<T>[]; reset: () => void; push: (item: QueueItem<T>) => void; };