Closed map34 closed 3 years ago
Refactor the refreshSession function to be resilient to network failures, and handles unauthorized error appropriately: re-login and re-connect WS
Emits error and success events on possible failure points (especially on refreshSession)
Exposes public interfaces to let clients use existing functions
Unit tests on the refreshSession flow
Refactor the refreshSession function to be resilient to network failures, and handles unauthorized error appropriately: re-login and re-connect WS
Emits error and success events on possible failure points (especially on refreshSession)
Exposes public interfaces to let clients use existing functions
Unit tests on the refreshSession flow