You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just looked over the code, and it seems like setAuth effects the state of the module, making it impossible to work with multiple accounts. Is that correct, or are there no race conditions to be expected when calling setAuth?
The text was updated successfully, but these errors were encountered:
No, this was a by design decision that I made. I've been rethinking it though as we've had some multi-account needs at Nodejitsu. Perhaps refactoring 'core.js' into 'client.js' to support these scenarios.
Just looked over the code, and it seems like setAuth effects the state of the module, making it impossible to work with multiple accounts. Is that correct, or are there no race conditions to be expected when calling
setAuth
?The text was updated successfully, but these errors were encountered: