Function: pnIncrement()
Function: pnIncrement()
Section titled “Function: pnIncrement()”pnIncrement(
clientID,delta,current?):PnCounterMap
Defined in: core/src/schema/crdt.ts:89
Local increment. delta may be negative — negative deltas write to
the underlying negative half-counter, positive to the positive.
Zero deltas are a no-op (allocations avoided).
Parameters
Section titled “Parameters”clientID
Section titled “clientID”string
number
current?
Section titled “current?”PnCounterMap | null