@univerjs-procollaborationclassesCompressmutationservice

@univerjs-pro/collaboration v0.5.0-beta.1Docs


Class: CompressMutationService

During transmission, compression is performed for a specific operation,referencing during transport. Before send -> compress -> transmission -> … -> node apply -> decompression -> apply. Before send -> compress -> transmission -> … -> node transform -> decompression -> apply. Before send -> compress -> transmission -> … -> take from server -> decompression -> apply. Before send -> compress -> save to local -> … -> take from local -> decompression -> apply.

Export

CompressMutationService

Constructors

new CompressMutationService()

new CompressMutationService(): CompressMutationService

Returns

CompressMutationService

Defined in

packages/collaboration/src/services/compress-mutation/compress-mutation-service.ts:23

Properties

PropertyTypeDefined in
interceptorInterceptorManager<{ COMPRESS_MUTATION_APPLY: IInterceptor<IMutationInfo<object>[], null>; COMPRESS_MUTATION_SEND: IInterceptor<IMutationInfo<object>[], null>; }>packages/collaboration/src/services/compress-mutation/compress-mutation-service.ts:22