• Constructs a new ReactiveMap with the given initial content.

    Type Parameters

    • V

    Parameters

    • Optionalinitial: Iterable<V, any, any>

    Returns ReactiveSet<V>

    // Empty
    const set1 = reactiveSet<string>();

    // With initial content
    const set2 = reactiveSet<string>(["foo", "bar"]);