Skip to content

Commit

Permalink
language update from PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stocaaro committed Aug 22, 2022
1 parent bc4bf43 commit 7aa1608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fragments/lib/pubsub/js/subunsub.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sub1.unsubscribe();

## Subscription connection status updates

Now that your application is setup and using pubsub subscriptions, you may want to know when the subscription is finally up and running, or reflect to your users when the subscription isn't healthy. You can monitor the connection state for changes via Hub.
Now that your application is setup and using pubsub subscriptions, you may want to know when the subscription is finally established, or reflect to your users when the subscription isn't healthy. You can monitor the connection state for changes via Hub.

```typescript
import { CONNECTION_STATE_CHANGE, ConnectionState } from '@aws-amplify/pubsub';
Expand Down

0 comments on commit 7aa1608

Please sign in to comment.