Automerge Repo - v2.5.2-alpha.0
Preparing search index...
@automerge/automerge-repo-react-hooks
UsePresenceResult
Type Alias UsePresenceResult<State>
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
local
State
peer
States
update
Properties
local
State
localState
:
State
|
undefined
peer
States
peerStates
:
PeerPresenceView
<
State
>
update
update
:
<
Channel
extends
keyof
State
>
(
channel
:
Channel
,
value
:
State
[
Channel
]
,
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
local
State
peer
States
update
Automerge Repo - v2.5.2-alpha.0
Loading...