Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

whenStackIsEmpty

Generic types:T

Operator function that buffers values from the source Observable until the global stack of pending builders is empty. When the stack is empty, it emits all buffered values and clears the buffer.

Presentation

function whenStackIsEmpty(
  tag?: string[] | undefined,
): OperatorFunction<BuilderState<T>, EndStates<T>[]>;

Returns

OperatorFunction<BuilderState<T>, EndStates<T>[]> -

{OperatorFunction<T, T>} An OperatorFunction that can be used with pipe.

Parameters

NameTypeDescription
tag
string[] | undefined