weasel API - v0.8.0
    Preparing search index...

    Function applyOpsTo

    • Default applyOps implementation: apply each op in order against adapter. Used by hooks when an adapter omits applyOps. Apps that need history integration (checkpoint + push entry) supply their own applyOps instead.

      The _label parameter mirrors the applyOps(ops, label) signature so call-sites can dispatch through (adapter.applyOps ?? applyOpsTo) with matching arguments. The default ignores it.

      Type Parameters

      • A

      Parameters

      • adapter: A
      • ops: Op[]
      • Optional_label: string

      Returns void