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

builderState

Generic types:T

Operator function that transforms a source Observable into an Observable of BuilderState. It emits a BuilderPending state at the start, then a BuilderDone state when the source emits, and a BuilderError state if the source errors out. It also manages a global stack of pending builders.

Presentation

function builderState(tag: string): OperatorFunction<T, BuilderState<T>>;

Returns

OperatorFunction<T, BuilderState<T>> -

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

Parameters

NameTypeDescription
tag
string