code: public <S,V> void when(S subject, Feature<? super S, V> feature, Ticker ticker, Matcher<? super V> criteria, Action<? super S> action) {
          waitUntil(subject, feature, ticker, criteria);
          action.actOn(subject);
      }
docs: Act on the subject when a polled sample of the feature satisfies the criteria.