src/reference/builder.js
function getAutoCompleteServiceQuery(listName) {
    return (query) => {
        loadListByName(listName, query.term).then((results) => {
            query.callback(results);
        });
    };
}
function getAutoCompleteServiceQuery(listName) {
    return (query) => {
        loadListByName(listName, query.term).then((results) => {
            query.callback(results);
        });
    };
}
function getAutoCompleteServiceQuery ( listName ) { return ( query ) => { loadListByName ( listName , query . term ) . then ( ( results ) => { query . callback ( results ) ; } ) ; } ; }
Get a function to trigger in autocomplete case.
The function will trigger a promise.
@param {string} listName - Name of the list.
Get a function to trigger in autocomplete case . The function will trigger a promise .