observable-collection
v1.2.3
Published
ObserbableCollection like classes for RxJS
Downloads
5
Maintainers
Readme
observable-collection.js - ObserbableCollection like classes for RxJS
ObservableArray<T>ObservableMap<K, V>ObservableWeakMap<K, V>ObservableSet<T>ObservableWeakSet<T>
Synopsys
import { ObservableArray } from "observable-collection";
const array = new ObservableArray(1, 2, 3);
const array2 = ObservableArray.from([1, 2, 3]);
console.log(array instanceof Array);
// > true
array.subscribe(arr => console.log(arr));
array.push(4);
// > [1, 2, 3, 4]
See also
License
This is released under MIT License.
