conditional blocked polling using a parameter