rektbot Posted March 23, 2017 Report Share Posted March 23, 2017 Hi, I'm waiting for accountInfo to be emitted then var accInfo = client.accountInfo; it's undefined. What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 23, 2017 Report Share Posted March 23, 2017 As per the documentation: This event is emitted before the accountInfo property is updated, so you can compare to see what changed. If it's the first emit, accountInfo won't be defined yet. The data is available as an event argument. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.