Function: emitAdapterInitialized()
Makaio Framework / services-core/session/orchestrator-testing / emitAdapterInitialized
Function: emitAdapterInitialized()
Section titled “Function: emitAdapterInitialized()”emitAdapterInitialized(
adapterName,adapterId?):Promise<void>
Defined in: ../../../packages/services/core/src/session/__tests__/shared.ts:88
Emit adapter.initialized for tests that intentionally exercise the
AdapterRegistry event cache or reverse adapter-name lookup.
The framework SessionOrchestrator resolves name-based routing through
AdapterRuntimeSubjects.resolveId; auto-attach tests should prefer mock
runtime identity handlers unless they specifically need the event cache.
Parameters
Section titled “Parameters”adapterName
Section titled “adapterName”string
Adapter type name (e.g., 'test-adapter')
adapterId?
Section titled “adapterId?”string = adapterName
Adapter instance ID. Defaults to adapterName for test simplicity.
Returns
Section titled “Returns”Promise<void>