Function: resolveAdapterNameById()
Makaio Framework / services-core / resolveAdapterNameById
Function: resolveAdapterNameById()
Section titled “Function: resolveAdapterNameById()”resolveAdapterNameById(
bus,adapterId,explicitAdapterName,errorPrefix):Promise<string>
Defined in: ../../../packages/services/core/src/session/selection-utils.ts:39
Resolve the canonical adapterName for a given deterministic adapterId,
rejecting when the caller-supplied name does not match the subsystem lookup.
The adapter runtime owns reverse lookup for deterministic IDs, including remote-machine IDs that still identify a known adapter type.
Parameters
Section titled “Parameters”Bus instance used to query the adapter runtime reverse lookup
adapterId
Section titled “adapterId”string
Adapter instance identifier to look up
explicitAdapterName
Section titled “explicitAdapterName”string | undefined
Caller-supplied name to validate against storage;
undefined skips the mismatch check
errorPrefix
Section titled “errorPrefix”string
Prefix prepended to thrown error messages (include trailing space)
Returns
Section titled “Returns”Promise<string>
Canonical adapter name resolved by the adapter runtime