src/main/java/com/greghaskins/spectrum/internal/junit/TimeoutWrapper.java
/**
   * Convert the timeout into a {@link NonReportingHook} which executes
   * the inner inside a daemon thread, failing if it takes too long.
   * @param timeout duration of the timeout
   * @return hook which implements the timeout
   */
Convert the timeout into a  NonReportingHook which executes
the inner inside a daemon thread, failing if it takes too long.
@param timeout duration of the timeout
@return hook which implements the timeout
Convert the timeout into a NonReportingHook which executes the inner inside a daemon thread failing if it takes too long . @param timeout duration of the timeout @return hook which implements the timeout
static NonReportingHook timeoutHook(Duration timeout) {
    return nonReportingHookFrom(
        (description, reporting, block) -> withAppliedTimeout(FailOnTimeout.builder(), timeout)
            .build(statementOf(block))
            .evaluate());
  }
static NonReportingHook timeoutHook ( Duration timeout ) { return nonReportingHookFrom ( ( description , reporting , block ) -> withAppliedTimeout ( FailOnTimeout . builder ( ) , timeout ) . build ( statementOf ( block ) ) . evaluate ( ) ) ; }
Convert the timeout into a {@link NonReportingHook} which executes
 the inner inside a daemon thread, failing if it takes too long.
Convert the timeout into a { @link NonReportingHook } which executes the inner inside a daemon thread failing if it takes too long .