Error in executeScript code: E353: csPostMessage: timeout 5000 ms

I have an asynchronous call to an API which takes a while to process and is cut off by the 5000ms timeout.
This function is invoked by executeScript.
Does anyone know how/where to alter that timeout to make it bigger?

The code:

async function callApi(keyword) {
  	const response = await fetch (api_url);
	const data = await response.json();
	return data;
return callApi(${keyword});
1 Like

Hello, this 5 second timeout value is currently hardcoded, but adding a custom variable for it is on our todo list for the next updates.


+1 The same struggle here.

I found this hardcode timeout in the plugin code. Making that a variable will be super handy! :pray: