                 @_getMore()
         @_prompt()
 
-    each: (cb) =>
+    each: (cb) ->
         @_cont = =>
             while @_index < @_data.length
                 cb null, @_data[@_index++]

            @_getMore() # TODO: We should save cb and fire cb instead of the callback in outstandingCallbacks - Let's ask Bill
        @_prompt()

    toArray: (cb) =>
        @_cont = =>
            if @_endFlag
                cb null, @_data

                @_getMore()
        @_prompt()

    close: ->
        unless @_endFlag
            @_conn._end(@_token)

