@honua/sdk-js
Preparing search index...
realtime
ResumableRealtimeSubscription
Interface ResumableRealtimeSubscription<TFeature>
interface
ResumableRealtimeSubscription
<
TFeature
=
unknown
>
{
state
:
ResumableRealtimeState
;
close
(
reason
?:
string
)
:
void
;
enqueue
(
event
:
RealtimeSequencedEvent
<
TFeature
>
,
)
:
Promise
<
ResumableRealtimeDelivery
>
;
requireResnapshot
(
reason
:
RealtimeExternalResnapshotReason
,
detail
?:
string
,
)
:
void
;
}
Type Parameters
TFeature
=
unknown
Index
Properties
state
Methods
close
enqueue
require
Resnapshot
Properties
Readonly
state
state
:
ResumableRealtimeState
Methods
close
close
(
reason
?:
string
)
:
void
Parameters
Optional
reason
:
string
Returns
void
enqueue
enqueue
(
event
:
RealtimeSequencedEvent
<
TFeature
>
,
)
:
Promise
<
ResumableRealtimeDelivery
>
Parameters
event
:
RealtimeSequencedEvent
<
TFeature
>
Returns
Promise
<
ResumableRealtimeDelivery
>
require
Resnapshot
requireResnapshot
(
reason
:
RealtimeExternalResnapshotReason
,
detail
?:
string
,
)
:
void
Project an adapter/server resume failure into an explicit snapshot transition.
Parameters
reason
:
RealtimeExternalResnapshotReason
Optional
detail
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
state
Methods
close
enqueue
require
Resnapshot
@honua/sdk-js
Loading...
Project an adapter/server resume failure into an explicit snapshot transition.