I'm using apnagent to send apns messages. After followed the tutorial, I didn't see anything about dealing with multiple device tokens.
I know we can do a loop easily but I want to know if there's a more efficient way to do this.
for(var i = 0; i < tokens.length; i++){
    token = tokens[i];
    agent.createMessage()
        .device(token)
        .alert('hello')    
        .send();
}
Thanks for the help.
Cheers, Mars