Skip to content

renderEntityControlFlow

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/techdocs/control-flow-render.ts

The control-flow sections for a single entity's own page.

Returns '' when the parser recorded nothing, which is the honest answer for a component that neither refuses work nor handles failure — and is very common. A page that announced "no branches found" on every such component would turn a true absence into noise.

Signature

ts
function renderEntityControlFlow(entity: { name?: string }, flow: ControlFlow): string

Parameters

NameType
entity{ name?: string }
flowControlFlow

Returns: string

Was this page helpful?

Download as PDF