nl_tokens: What is the requestQueue ?
pl_tokens: function runRequestQueue ( socket ) { var queue = socket . requestQueue ; if ( ! queue ) return ; for ( var i in queue ) { // Double-check that `queue[i]` will not // inadvertently discover extra properties attached to the Object // and/or Array prototype by other libraries/frameworks/tools. // (e.g. Ember does this. See https://github.com/balderdashy/sails.io.js/pull/5) var isSafeToDereference = ( { } ) . hasOwnProperty . call ( <mask> , i ) ; if ( isSafeToDereference ) { // Get the arguments that were originally made to the "request" method var requestArgs = queue [ i ] ; // Call the request method again in the context of the socket, with the original args socket . request . apply ( socket , requestArgs ) ; } } // Now empty the queue to remove it as a source of additional complexity. socket . requestQueue = null ; }