Skip to content

Function: registerForkHandler()

Makaio Framework


Makaio Framework / services-core / registerForkHandler

registerForkHandler(bus): () => void

Defined in: ../../../packages/services/core/src/session/handlers/fork-handler.ts:161

Registers the session.fork RPC handler.

Creates a new session with parent reference. The forked session starts empty - its full conversation is assembled by traversing the parent chain.

IMakaioBus

Bus instance for communication

Cleanup function to unsubscribe

() => void