@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
10 lines (9 loc) • 538 B
TypeScript
import { OperatorFunction } from 'rxjs';
import { BuilderState } from '../types';
/**
* Operator function that transforms a source Observable of BuilderState array into an Observable of results array.
* It filters out states that are not done and maps the done states to their results.
* @template T The type of the result.
* @returns {OperatorFunction<Array<BuilderState<T>>, Array<T>>} An OperatorFunction that can be used with pipe.
*/
export declare function whenBuildersDone<T>(): OperatorFunction<Array<BuilderState<T>>, T[]>;