Class Syncer1

A syncer that can be used to keep Entitys up-to-date with other peers across a sync interface.

Constructors

Properties

Methods

Constructors

Properties

syncing: Map<`leaf:${string}`, { entity: Entity; unsubscribe: () => void }>

Methods

  • Start syncing an entity. All local updates will be pushed to peers, and incoming changes will be automatically merged into the entity.

    Parameters

    Returns void