Jump to content
McKay Development

Ins

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Ins

  1. When working with your library there was a difficulty...

    How can i promise example here:

    botInfo = {};
    
    client.logOn(logOnOptions);
    
    client.on('wallet', function(hasWallet, currency, balance) {
        botInfo.balance = balance;
    });
    
    client.on('emailInfo', function(address, validated) {
        botInfo.emailAddress = address;
        botInfo.emailValidated = validated;
    });
    
    console.log(botInfo); // i want to log data after fill info
    
    

    no one promise don't work....

×
×
  • Create New...