async function onLogin() {
    if (dataClient.wsClient) restartWebsockets(dataClient.wsClient);
    try {
        await dataClient.resetStore();
    } catch (e) {
        // eslint-disable-next-line no-console
        console.log('%cError on cache reset (login)', 'color: orange;', e.message);
    }
}
// Manually call this when user log in
Manually call this when user log in
Manually call this when user log in
async function onLogin() {
    if (dataClient.wsClient) restartWebsockets(dataClient.wsClient);
    try {
        await dataClient.resetStore();
    } catch (e) {
        console.log('%cError on cache reset (login)', 'color: orange;', e.message);
    }
}
async function onLogin ( ) { if ( dataClient . wsClient ) restartWebsockets ( dataClient . wsClient ) ; try { await dataClient . resetStore ( ) ; } catch ( e ) { console . log ( '%cError on cache reset (login)' , 'color: orange;' , e . message ) ; } }
Manually call this when user log in
Manually call this when user log in
// eslint-disable-next-line no-console