/// <summary> /// A class that allows cheap and comfortable way to wait for anything that can be expressed with a boolean to be tested and may take async time /// </summary> /// <param name="milliseconds">The maximum time to allow the inspection to happen</param> /// <param name="action">The inspecting method</param> public TimeLimitedInspector(int milliseconds, IfTrueFinishHandler action) { TimeLimit = milliseconds; Action = action; }