Automerge Repo - v2.5.2-alpha.0
    Preparing search index...
    type UsePresenceResult<State> = {
        localState: State | undefined;
        peerStates: PeerPresenceView<State>;
        update: <Channel extends keyof State>(
            channel: Channel,
            value: State[Channel],
        ) => void;
    }

    Type Parameters

    • State
    Index

    Properties

    localState: State | undefined
    peerStates: PeerPresenceView<State>
    update: <Channel extends keyof State>(
        channel: Channel,
        value: State[Channel],
    ) => void