Polish timed operators and remove useTimer()

This commit is contained in:
Stephane Maldini 2016-07-12 12:13:50 +01:00
parent b66cc71d66
commit c2c7e3b596
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ public class AsyncIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@Override
public Mono<Void> handle(ServerHttpRequest request, ServerHttpResponse response) {
return response.writeWith(Flux.just("h", "e", "l", "l", "o")
.useTimer(Schedulers.timer())
.delay(Duration.ofMillis(100))
.publishOn(asyncGroup)
.collect(dataBufferFactory::allocateBuffer, (buffer, str) -> buffer.write(str.getBytes())));