@o3r/core
Version:
Core of the Otter Framework
10 lines • 508 B
TypeScript
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