Skip to content

Function: emitAdapterInitialized()

Makaio Framework


Makaio Framework / services-core/session/orchestrator-testing / 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.

string

Adapter type name (e.g., 'test-adapter')

string = adapterName

Adapter instance ID. Defaults to adapterName for test simplicity.

Promise<void>