Leaf
    Preparing search index...

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

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    syncing: Map<
        `leaf:${string}`,
        {
            awaitInitialLoad: Promise<void>;
            entity: MaybeWeakEntity;
            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