ably / ably-js

Javascript, Node, Typescript, React, React Native client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
316 stars 55 forks source link

Sharing a connection across tabs #693

Open mattheworiordan opened 4 years ago

mattheworiordan commented 4 years ago

This is possible using WebWorkers, which ably-js supports.

However:

┆Issue is synchronized with this Jira Task by Unito

owenpearson commented 4 years ago

I'm trying to think what an ideal solution to this might look like... Much like the issue of documenting the async promise-based API it's quite hard to tell where platform-specific documentation should go in the official documentation. My best idea at the moment is to add a simple example to www.ably.io/tutorials and link to there from the README and the solution article. @mattheworiordan let me know if this is an acceptable solution and I can get the ball rolling.