stellar-deprecated / stellar-client

INACTIVE. Browser based client for stellard. This repository is inactive. It points to the stellard network, which is being replaced by stellar-core. Please refer to the replacement repository, interstellar-client, which points to the stellar-core network.
Other
306 stars 74 forks source link

Properly wait for UserInfo #1129

Open deckar01 opened 9 years ago

deckar01 commented 9 years ago

1059 revealed that the functions used to get user data are not guaranteed to have the data ready when the synchronous call is made. #1098 added a promise to the session that can be used to properly wait for the data to be loaded. Consider unifying the 2 code paths and implementing a more concise caching mechanism (lazy request instead of hard coded into login).