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 ) ; }
Act on the subject when a polled sample of the feature satisfies the criteria .