Skip to content

Add ChatClient.dispose() documentation#3177

Draft
AndyTWF wants to merge 1 commit intomainfrom
chat-dispose
Draft

Add ChatClient.dispose() documentation#3177
AndyTWF wants to merge 1 commit intomainfrom
chat-dispose

Conversation

@AndyTWF
Copy link
Contributor

@AndyTWF AndyTWF commented Feb 2, 2026

Summary

Add documentation for the new ChatClient.dispose() method that releases all resources associated with the chat client.

Related PRs

Changes

  • Added new "Dispose of the client" section to the SDK setup page
  • Includes code examples for JavaScript, React, Swift, Kotlin, and Jetpack Compose
  • Documents what dispose() does and its idempotent behavior
  • Notes that the underlying Realtime connection is not closed by dispose()

Add new section documenting ChatClient.dispose() method for JavaScript,
React, Swift, Kotlin, and Jetpack Compose based on:
- ably/ably-chat-swift#477
- ably/ably-chat-kotlin#188
@coderabbitai
Copy link

coderabbitai bot commented Feb 2, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chat-dispose

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

2 participants