Get data throgh ajax next time for same parameter need to rebind data to select2

I have ajax approach select2. first time need to bring data throgh ajax and then if user try with same parameters then i have to avoid ajax and bind data to select2 with from client-side array variable.
so my request is how to call processresult without ajax call.