So I’ve got some questions more, sorry guys to annoying you and attention u maybe scream at this code.
Is there any option to save the result/response as object in the array. tried something like these:
function GetData(Name, callback) {
GetID(Name, function(user) {
GetStatus(user._id, function(channel) {
var data = ({
'time' : time,
'user' : user,
'channel' : channel,
'game' : (channel.stream === null) ? null : function(){
GetGame(data.channel.stream.game, function(game){
ausgabe(game.games[0].box.large);
});
}
});
callback(data);
});
});
}
the idea behind this, i want just the completly infos in 1 array of objects and call it with something like these:
GetData("summonersinnlive", function(data){
ausgabe(data.game);
});
The problem is like u said i think, the async