APISonar


reactor.core.publisher.SchedulerGroup.io

> reactor > core > publisher > SchedulerGroup > io
reactor APIs core APIs publisher APIs SchedulerGroup APIs io APIs

Example 1
public void promiseOnAfter() throws Exception {
		String h = Mono.fromCallable(() -> {
			Thread.sleep(400);
			return "hello";
		})
		               .publishOn(SchedulerGroup.io())
		               .after(() -> Mono.just("world"))
		               .get();
		assertThat("Alternate mono not seen", h, is("world"));
	}