WIP: Explore runSaga - #777
Conversation
|
6c7ba4c to
cb98064
Compare
cb98064 to
592e8cb
Compare
06dcd13 to
67429ed
Compare
9b26657 to
da62485
Compare
|
Rebased on |
* EventEmitter for each instance of a component * remove branch from the main workflow * add changeset * add dev branch to workflow * add dev branch to ci/cd
* Calling worker to fork call workers * hanlde calling.call.state events * handle calling.call.dial event and move dial function to the client * fix answer() promise * handle calling.call.collect event * hanlde calling.call.send_digits event * handle calling.call.detect event * handle calling.call.tap event * handle calling.call.prompt event * handle calling.call.connect event * override on, once, and off functions for the Call * replace _on with on in e2e test cases * include changeset * fix playback event for prompt * fix call.detect event with internal sdk worker * unit test cases fix * rebased with the dev * replace overriden functions * fix instanceMap arg --------- Co-authored-by: edolix <edo91.gallo@gmail.com>
* Cleanup emitter transform for Voice Call APIs * include changeset
* Use base event emitter for Message API * emitter transform remove and changeset include * ApplyEventListeners comment update
* base emitter for chat and pubsub api * changeset included * improve pubsub and chat worker initializing * fix chat and pubsub e2e js case * improve chat and pubsub e2e js case * SDK child worker type fix * type issues fix for sub workers * more debug * more debug in voiceCallPlayWorker * update payload from voiceCallDialWorker * run only voice test for now * override event listeners for call instances * fix node script * fix voiceCallConnectWorker bug * fix test cases for playback and recording --------- Co-authored-by: edolix <edo91.gallo@gmail.com>
d2bd2d0 to
7b0b22d
Compare
| "start:node": "sw-build --dev --node --watchFormat=cjs", | ||
| "build": "tsc --project tsconfig.build.json && sw-build --web && sw-build --node", | ||
| "test": "NODE_ENV=test jest --detectOpenHandles --forceExit", | ||
| "test": "NODE_ENV=test jest", |
There was a problem hiding this comment.
Just trying to understand, why have we removed the --detectOpenHandles. Shouldn't we keep it to observe if Jest exits cleanly?
| dispatch(action: AnyAction) { | ||
| logger.info('swStore >> Dispatch', action) | ||
|
|
||
| // Process the action within reducers |
There was a problem hiding this comment.
Maybe we can add a TODO for future reference to move this logic to a reducer.
| init: () => { | ||
| logger.info('swStore >> Init Store?') | ||
| }, | ||
| start: (rootSaga: Saga, options: any) => { |
| }, | ||
| }) | ||
|
|
||
| // return sagaMiddleware.run(saga, { |
There was a problem hiding this comment.
Forgot to remove these comments related to the old middleware logic?
2703f14 to
bbe5b55
Compare
No description provided.