As you can see here : ArcGIS REST API
Near 10.3 they included a new parameters so that you can work with query limits, for example you put a limit on your server of only 1000 records per query and you have 3000 records, you'll have to chain 3 requests.
But how? How can I make asynchronous calls that in a loop using dojo? How can I iterate them in a way that I can return all features
Synchronous mockup :