Javascript 意义模式:';中止';在jsajax请求中

Javascript 意义模式:';中止';在jsajax请求中,javascript,ajax,jquery,abort,Javascript,Ajax,Jquery,Abort,我不确定我是否理解JQ Ajax请求中的'abort'选项的用途。 它是用来干什么的 $.ajax({ **mode: 'abort',** dataType: 'html', url: baseUrl + '/books/search/isbn/' + value + '/current_status/dropped', success: function(data

我不确定我是否理解JQ Ajax请求中的
'abort'
选项的用途。
它是用来干什么的

$.ajax({
                **mode: 'abort',**

                dataType: 'html',
                url: baseUrl + '/books/search/isbn/' + value + '/current_status/dropped',
                success: function(data) {
                    $('#found-books').html(data);
                }
        });

它不包含在的核心中,它附带了一个名为的插件。 模式:中止,中止所有当前ajax请求,可选。您可以使用端口限制要中止的组。插件的代码示例:


如果用作ajax对象上的方法,它用于中止ajax调用,以前从未见过
模式:abort
选项,并且在文档中也找不到它?
$.ajax({
    // try to leverage ajaxQueue plugin to abort previous requests
    mode: "abort",
    // limit abortion to this input
    port: "autocomplete" + input.name,
    ....