public void setTimeoutPredicate(Predicate<Long> p) {
		this.keyTimeoutPredicate = p;
	}
Sets the logic for deciding whether the elapsed time between keystrokes is enough to
trigger a new auto lookup or to continue with the previous match.

<p>This method is intended for tests that need precise control over the timeout mechanism.


@param p the predicate that takes the amount of elapsed time
@see #setTimeout(long)
Ghidra/Framework/Docking/src/main/java/docking/widgets/AutoLookup.java