I want it to return false if no value is returned within 5 seconds.
I couldn't find how to, here is my code:
public async Task<bool> InformixTest()
{
string query = await _informixService.Reports("SELECT 1");
if (query != null)
{
return true;
}
else
{
return false;
}
}