private <T> Flux<T> createFlux(Function<ReactiveListCommands, Publisher<T>> function) { Assert.notNull(function, "Function must not be null!"); return template.createFlux(connection -> function.apply(connection.listCommands())); }
private <T> Mono<T> createMono(Function<ReactiveListCommands, Publisher<T>> function) { Assert.notNull(function, "Function must not be null!"); return template.createMono(connection -> function.apply(connection.listCommands())); }
private <T> Mono<T> createMono(Function<ReactiveListCommands, Publisher<T>> function) { Assert.notNull(function, "Function must not be null!"); return template.createMono(connection -> function.apply(connection.listCommands())); }
private <T> Flux<T> createFlux(Function<ReactiveListCommands, Publisher<T>> function) { Assert.notNull(function, "Function must not be null!"); return template.createFlux(connection -> function.apply(connection.listCommands())); }
private <T> Flux<T> createFlux(Function<ReactiveListCommands, Publisher<T>> function) { Assert.notNull(function, "Function must not be null!"); return template.createFlux(connection -> function.apply(connection.listCommands())); }
private <T> Mono<T> createMono(Function<ReactiveListCommands, Publisher<T>> function) { Assert.notNull(function, "Function must not be null!"); return template.createMono(connection -> function.apply(connection.listCommands())); }