@roomy-chat/sdk
    Preparing search index...

    Class Syncer1

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

    Index

    Methods

    Constructors

    Properties

    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

    • Stop syncing an entity.

      Parameters

      • id: `leaf:${string}`

      Returns void

    Constructors

    Properties

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