The binary transport channel for exchanging Loro snapshots with peers.
OptionalloadOptional bundler-visible loader for browser applications. Supply
() => import("loro-crdt") when the bundler cannot resolve the provider's
runtime-only peer import. Node consumers can omit this.
OptionalonReceives import, export, and lifecycle failures instead of hiding them.
OptionalpeerStable Loro peer identity. Supplying distinct numeric IDs makes concurrent same-field resolution reproducible: Loro's LWW map tie-break chooses the higher peer ID when logical counters are equal.
OptionalregisterWhether to automatically register createLoroMergeStrategy for each
entity type this provider manages. This replaces the graph's default
LWW strategy with CRDT-based resolution for those types.
Options for
createLoroProvider.