UNPKG

state-synchronizers

Version:

Deterministically update state based on other state

2 lines (1 loc) 118 B
export declare function getTopologicalSorting<V extends number | string | symbol = any>(edges: Record<V, V[]>): V[];