UNPKG

@o3r/core

Version:
10 lines 508 B
import { Observable } from 'rxjs'; /** * Buffers and emits data for lazy/progressive rendering of big lists * That could solve issues with long-running tasks when trying to render an array * of similar components. * @param delayMs Delay between data emits * @param concurrency Amount of elements that should be emitted at once */ export declare function lazyArray<T>(delayMs?: number, concurrency?: number): (source$: Observable<T[]>) => Observable<T[]>; //# sourceMappingURL=rendering.helpers.d.ts.map