json-joy
    Preparing search index...

    Class NopOp

    Operation which does nothing. Useful for skipping clock cycles, so that operations with a gap in clock can be included in the same patch.

    Hierarchy

    • Op
      • NopOp

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Unique ID of that operation within the document, Lamport timestamp.

    len: number

    Methods

    • Some operations, such as array and string insert/delete operations are compound a single operation instance effectively represents multiple operations (one per character or array element).

      This method returns the effective number of operations.

      Returns number