Function: registerForkHandler()
Makaio Framework / services-core / registerForkHandler
Function: registerForkHandler()
Section titled “Function: 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.
Parameters
Section titled “Parameters”Bus instance for communication
Returns
Section titled “Returns”Cleanup function to unsubscribe
() => void