Closed tmulkern closed 7 years ago
Changed usages of push on this._buffered_msg_queue and this._msg_queue to use unshift
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift, removing the need to reverse the array to pop elements in fifo order
Signed-off-by: Tadhg Mulkerntadhg.j.mulkern@gmail.com
Messed up Sign-Off, creating new branch
Changed usages of push on this._buffered_msg_queue and this._msg_queue to use unshift
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift, removing the need to reverse the array to pop elements in fifo order
Signed-off-by: Tadhg Mulkerntadhg.j.mulkern@gmail.com