@obsidize/rx-map
Version:
ES6 Map with rxjs extensions for change detection
12 lines (11 loc) • 420 B
TypeScript
/**
* Utility for masking RxMap iterators, so that
* the underlying map values cannot be mutated while using them.
*/
export declare class ProxyIterableIterator<T, R> implements IterableIterator<R> {
private readonly source;
private readonly transform;
constructor(source: Iterator<T>, transform: (value: T) => R);
[Symbol.iterator](): IterableIterator<R>;
next(): IteratorResult<R>;
}