Skip to content

Cm5Editor.operation method

Cm5Editor › operation

Unofficial

Buffers all changes inside the function and only updates after it returns.

Signature:

operation(fn: () => T): T

Parameters:

Parameter Type Description
fn () => T The function to execute.

Returns: TThe return value of the function.