Skip to content

Function: registerCompressHandler()

Makaio Framework


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

IMakaioBus

Bus instance

Cleanup function

() => void