Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

bindingInterfaceName

Source

The best name to hand the plugin for an interface binding. Identity (`ifName`) is the durable key; `interfaceName` is the migration / label fallback. The poll-time resolution layer may refine this against the source's live interface list, but a name is always derivable here.

bindingInterfaceName(b: MetricsBindingAttachment): string | undefined

Parameters

Parameter Type Description Default
b MetricsBindingAttachment No additional description.

Returns

string | undefined

libs/@shumoku/core/src/observation/metrics-binding.ts:43