コンテンツにスキップ

Function: orSetAdd()

このコンテンツはまだ日本語訳がありません。

orSetAdd<T>(clientID, seq, value, current?): OrSet<T>

Defined in: core/src/schema/crdt.ts:220

Local add. seq is a monotonic per-clientID counter that the caller supplies (Alpha dogfood needed this: without a stable seq, retries would generate different tags and merge weirdly). mutationID from MutatorOrigin is the natural source.

T

string

number

T

OrSet<T> | null

OrSet<T>