public final Flux<T> sample(Duration timespan){
  return sampleMillis(timespan.toMillis());
}

public final Flux < T > sample ( Duration timespan ) { return sampleMillis ( timespan . toMillis ( ) ) ; }
emit latest value for every given period of time . < p > < img class = " marble " src = " https : / / raw . githubusercontent . com / reactor / projectreactor . io / master / src / main / static / assets / img / marble / sampletimespan . png " alt = " " >
