Automerge Repo - v2.3.0-alpha.0
    Preparing search index...

    Interface UseLocalAwarenessProps

    interface UseLocalAwarenessProps {
        handle: DocHandle<unknown>;
        heartbeatTime?: number;
        initialState: any;
        userId: string;
    }
    Index

    Properties

    handle: DocHandle<unknown>

    The document handle to send ephemeral state on

    heartbeatTime?: number

    How frequently to send heartbeats

    initialState: any

    The initial state object/primitive we should advertise

    userId: string

    Our user ID *