Method: Libcouchbase::QueryN1QL#cancel

Defined in:
lib/libcouchbase/query_n1ql.rb

#cancelObject



111
112
113
114
115
116
117
118
119
# File 'lib/libcouchbase/query_n1ql.rb', line 111

def cancel
    @error = :cancelled unless @error
    @reactor.schedule {
        if @connection.handle && @cmd
            Ext.n1ql_cancel(@connection.handle, @handle_ptr.get_pointer(0))
            received_final(nil)
        end
    }
end