Skip to content

Function: registerCreateAndLinkHandler()

Makaio Framework


Makaio Framework / services-core / registerCreateAndLinkHandler

registerCreateAndLinkHandler(bus): () => void

Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:363

Register a bus handler for the createAndLink subject.

Exposes createAndLinkImportedSession as a bus RPC so cross-package callers (e.g., @makaio/services-log-import) can invoke it without a direct import dependency on @makaio/services-core/session.

IMakaioBus

The bus instance to register the handler on

Cleanup function to unsubscribe the handler

() => void