UNPKG

live-set

Version:

Class representing a changing and transformable collection of items.

4 lines (2 loc) 147 B
import LiveSet from '.'; export default function mapWithRemoval<T,U>(input: LiveSet<T>, cb: (value: T, removal: Promise<void>) => U): LiveSet<U>;