Function: registerCompressHandler()
Makaio Framework / services-core / registerCompressHandler
Function: registerCompressHandler()
Section titled “Function: registerCompressHandler()”registerCompressHandler(
bus): () =>void
Defined in: ../../../packages/services/core/src/session/handlers/compress-handler.ts:25
Registers the session.compress RPC handler.
Executes a pipeline on session messages and inserts a squash event. The squash event marks a context boundary - messages before it are summarized by the context JSON.
Parameters
Section titled “Parameters”Bus instance
Returns
Section titled “Returns”Cleanup function
() => void