C# - Polling a bool value with a timeout

218 Views Asked by At

I'm searching a "nice" way to poll a boolean value every 200ms and throw a timeout exception if it is not set to true in the meantime.

Are there any best practices to do so?

0

There are 0 best solutions below