Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
@aws-amplify/pubsub
clients/mqtt
<Reference Types>
ConnectionStateMonitor
Class ConnectionStateMonitor
Index
Constructors
constructor
Accessors
connection
State
Observable
Methods
record
Constructors
constructor
new
Connection
State
Monitor
(
)
:
ConnectionStateMonitor
Returns
ConnectionStateMonitor
Accessors
connection
State
Observable
get
connectionStateObservable
(
)
:
Observable
<
ConnectionState
>
Get the observable that allows us to monitor the connection state
Returns
Observable
<
ConnectionState
>
The observable that emits ConnectionState updates
Methods
record
record
(
statusUpdates
)
:
void
Parameters
statusUpdates
:
Partial
<
LinkedConnectionStates
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
connection
State
Observable
record
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter
Get the observable that allows us to monitor the connection state