public static <T> T waitFor(Supplier<T> supplier) {
		return waitForValue(supplier);
	}
Waits for the value returned by the supplier to be non-null, throwing an exception if that
does not happen by the default timeout.

@param supplier the supplier of the value
@return the non-null value
@throws AssertionFailedError if a non-null value is not returned within the timeout period
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java