Preparing search index...
The search index is not available
@botsquad/inbox-sdk
@botsquad/inbox-sdk
TypedPresence
Interface TypedPresence<T>
interface
TypedPresence
<
T
>
{
inPendingSyncState
(
)
:
boolean
;
list
<
V
>
(
chooser
?
)
:
V
[]
;
onJoin
(
callback
)
:
void
;
onLeave
(
callback
)
:
void
;
onSync
(
callback
)
:
void
;
}
Type Parameters
T
extends
object
Hierarchy
Omit
<
Presence
,
"list"
>
TypedPresence
Index
Methods
in
Pending
Sync
State
list
on
Join
on
Leave
on
Sync
Methods
in
Pending
Sync
State
in
Pending
Sync
State
(
)
:
boolean
Returns
boolean
list
list
<
V
>
(
chooser
?
)
:
V
[]
Type Parameters
V
=
PresenceList
<
T
>
Parameters
Optional
chooser
:
(
(
key
,
presence
)
=>
V
)
(
key
,
presence
)
:
V
Parameters
key
:
string
presence
:
PresenceList
<
T
>
Returns
V
Returns
V
[]
on
Join
on
Join
(
callback
)
:
void
Parameters
callback
:
PresenceOnJoinCallback
Returns
void
on
Leave
on
Leave
(
callback
)
:
void
Parameters
callback
:
PresenceOnLeaveCallback
Returns
void
on
Sync
on
Sync
(
callback
)
:
void
Parameters
callback
:
(
(
)
=>
void
|
Promise
<
void
>
)
(
)
:
void
|
Promise
<
void
>
Returns
void
|
Promise
<
void
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
in
Pending
Sync
State
list
on
Join
on
Leave
on
Sync
@botsquad/inbox-sdk
Loading...
Generated using
TypeDoc