Skip to main content

BindSource

Defined in: js-api/src/u2core/protocol.ts:93

The DD5 binding protocol: a source resolves one path step at a time and enumerates what a picker may offer without allocating a single signal — laziness is the contract, not an optimization. Every Component answers it off its registry meta.

Methods

bindProps()

bindProps(): BindProp[]

Defined in: js-api/src/u2core/protocol.ts:98

What a binding picker enumerates. Must not allocate signals.

Returns

BindProp[]


bindStep()

bindStep(name): BindSource | Signal<unknown> | null

Defined in: js-api/src/u2core/protocol.ts:96

Resolve one step; a Signal ends the walk, a source continues it, null is unresolvable. '' asks for the default binding.

Parameters

ParameterType
namestring

Returns

BindSource | Signal<unknown> | null