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

BuilderDone

Generic types:TResult

Represents a done state in the builder process. This class is used when the builder has finished and the result is available.

Constructor

Creates a new instance of the BuilderDone class.

Presentation
constructor(
	readonly tag: string, 
	readonly result: TResult, 
	readonly fromCache: boolean = false, 
	readonly afterEmit?: (() => void) | undefined
): BuilderDone<TResult>;
Parameters
NameTypeDescription
r
tag
string
r
result
TResult
r
fromCache
boolean

Whether the result was restored from the cache.

r
afterEmit
(() => void) | undefined

A function to execute after the result has been emitted.

Properties

NameTypeDescription
state
r
"done"