Comments (3)
I updated the demo: https://github.com/tylerlong/shared-worker-demo/blob/dev/src/ws-shared-worker.ts
The worker will need the RC SDK. Because it need to send REST API to get wss address.
But we could let tab to send token to worker when subscribing, that way, worker doesn't maintain a RC SDK instance.
from ringcentral-extensible.
I created a demo project https://github.com/tylerlong/shared-worker-demo
I am not sure that the logic should go to the SDK.
from ringcentral-extensible.
Close it for now. Not sure this should be built into SDK.
from ringcentral-extensible.
Related Issues (20)
- Unable to login with email HOT 4
- Install WebSocketExtension HOT 1
- Make definitions fields non-optional? HOT 1
- Fix CI HOT 2
- Extension for token auto refresh HOT 4
- IE 11 error "use strict" HOT 3
- Update doc of extensions/rcsdk HOT 1
- Update doc of @rc-ex/ws
- Test extensions/rcsdk exceptions HOT 1
- PubNub JSON structure issue HOT 1
- Websocket error on console log HOT 4
- Version 0.9.9 errors on console HOT 1
- Large numbers of request to /wstoken HOT 1
- WebSocket connection lost when recover with cached token HOT 1
- POST without body doesn't work HOT 1
- Attaching images does not work as expected HOT 4
- Many type errors found HOT 2
- Remove debounce to recover WS HOT 1
- Cannot read properties of undefined (reading 'addEventListener') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ringcentral-extensible.