public static ConditionFactory waitAtMost(Duration timeout) {
    """
	An alternative to using {@link #await()} if you want to specify a timeout
	directly.
	
	@param timeout the timeout
	@return the condition factory
    """
        return new ConditionFactory(null, defaultWaitConstraint.withMaxWaitTime(timeout), defaultPollInterval, defaultPollDelay,
                defaultCatchUncaughtExceptions, defaultExceptionIgnorer, defaultConditionEvaluationListener,
                defaultExecutorLifecycle);
    }
public static ConditionFactory waitAtMost(Duration timeout) {
        return new ConditionFactory(null, defaultWaitConstraint.withMaxWaitTime(timeout), defaultPollInterval, defaultPollDelay,
                defaultCatchUncaughtExceptions, defaultExceptionIgnorer, defaultConditionEvaluationListener,
                defaultExecutorLifecycle);
    }
public static ConditionFactory waitAtMost ( Duration timeout ) { return new ConditionFactory ( null , defaultWaitConstraint . withMaxWaitTime ( timeout ) , defaultPollInterval , defaultPollDelay , defaultCatchUncaughtExceptions , defaultExceptionIgnorer , defaultConditionEvaluationListener , defaultExecutorLifecycle ) ; }
An alternative to using {@link #await()} if you want to specify a timeout
directly.

@param timeout the timeout
@return the condition factory
An alternative to using { @link #await () } if you want to specify a timeout directly .