Questions tagged [reactive]

The reactive tag refers to a variable type and environment used inside Shiny applications based in the R programming language. Reactive elements are dynamic and changing over time usually due to user input to the Shiny application. This tag should be used with questions and errors regarding how to refresh, update, assign, and access user inputs into Shiny. The reactive tag is to be used in conjunction with the r and shiny tag.

2049 questions
9
votes
2 answers

Spring Security WebFlux and LDAP

What customization's are required in order to secure a Reactive Spring Boot application with LDAP? The examples I've seen so far are based on Spring MVC and the example for securing a WebFlux only shows a simple Reactive example with an in-memory…
9
votes
3 answers

Reactive WebClient GET Request with text/html response

Currently I’m having an issue with new Spring 5 WebClient and I need some help to sort it out. The issue is: I request some url that returns json response with content type text/html;charset=utf-8. But unfortunately I’m still getting an…
m13erok
  • 93
  • 1
  • 1
  • 5
9
votes
1 answer

Understanding Spring's Web Reactive Framework

I am currently developing an application with SpringBoot 2, spring-boot-starter-webflux on netty and jOOQ. Below is the code that I have come up with after hours of research and stackoverflow searches. I have built in a lot of logging in order to…
Liviu Ilea
  • 1,494
  • 12
  • 13
9
votes
1 answer

Why does ReactiveUI have a dependency on an old version of System.Reactive?

I have a multi-project Visual Studio solution targeting .Net 4.5.2 . In one of the projects (a WPF application), I've used nuget to add the System.Reactive version 3.0.1000.0 package followed by the ReactiveUI 7.0.0.0 package. In another project…
NeilMacMullen
  • 3,339
  • 2
  • 20
  • 22
8
votes
1 answer

vue3 + pinia: how to make reactive a value from the store

I am using vue 3 with composition api and pinia I have an auth store that is reading from the store a default email and a default password import { useAuthStore } from "stores/auth"; const authStore = useAuthStore(); const email =…
realtebo
  • 23,922
  • 37
  • 112
  • 189
8
votes
1 answer

How should one do sync http requests in modern Spring?

For a long time, Spring has been recommending RestTemplate for sync http requests. However, nowadays the documentation says: NOTE: As of 5.0 this class is in maintenance mode, with only minor requests for changes and bugs to be accepted going…
eis
  • 51,991
  • 13
  • 150
  • 199
8
votes
1 answer

Difference between APPLICATION_STREAM_JSON_VALUE and APPLICATION_NDJSON_VALUE

While working with Spring 5 reactive APIs , i came across the deprecated MediaType APPLICATION_STREAM_JSON_VALUE , which when used display values from a GET REST endpoint in a stream kind of fashion , that is showing up values as they appear on the…
Saurabh Chaturvedi
  • 2,028
  • 2
  • 18
  • 39
8
votes
1 answer

Has the Reactive Extensions library been discontinued?

The documentation for much of the Reactive Extensions library on Microsoft's website says "We're no longer updating this content regularly. Check the Microsoft Product Lifecycle for information about how this product, service, technology, or API is…
James Cane
  • 123
  • 1
  • 8
8
votes
1 answer

Spring WebClient reactor.netty.internal.shaded.reactor.pool.PoolAcquireTimeoutException

I am using Spring WebClient to call a rest service. The code for the post call as mentioned below. Mono response = client.post() .uri(uriBuilder -> uriBuilder.build()) …
mnpr
  • 325
  • 4
  • 8
8
votes
3 answers

Spring boot reactive (Webflux) with MySql

I would develop an Spring boot application compliant with new feature Webflux. Does an driver JDBC for Mysql exist? I found just driver for some NoSql DB (for ex. MongoDB). Could you help me? Thanks, regards. UPDATE: On official site of R2DBC…
Michel Foucault
  • 1,724
  • 3
  • 25
  • 48
8
votes
2 answers

Is the order of observables given to combineLatest relevant?

I have two observables which I want to combine with combineLatest: const o1 = from(['a', 'b', 'c']); const o2 = of('content from o2'); combineLatest(o1, o2) .subscribe(result => console.log(result)); As I understood combineLatest, when any…
fjc
  • 5,590
  • 17
  • 36
8
votes
5 answers

WebTestClient check that jsonPath contains sub string

In MockMvc there is an ability to assert that jsonPath contains substing .andExpect(jsonPath("$.error.message") .value(containsString("message"))) I wonder if there a nice way to do the same for WebTestClient, the syntax is a bit…
Evgen
  • 1,278
  • 3
  • 13
  • 25
8
votes
1 answer

How to get list of all output elements in R Shiny

How the get a list of reactive output elements? what works without problems is: observe(print(reactiveValuesToList(input)) ) what doesn't work for reasons i don't understand is: observe( print(reactiveValuesToList(output)) ) For a large complex…
Mark
  • 2,789
  • 1
  • 26
  • 66
8
votes
3 answers

How to serve files/PDF files the reactive way in spring

I have the following endpoint code to serve PDF files. @RequestMapping ResponseEntity getPDF() { File file = ...; byte[] contents = null; try { try (FileInputStream fis = new FileInputStream(file)) { contents = new byte[(int)…
Bk Santiago
  • 1,523
  • 3
  • 13
  • 24
7
votes
1 answer

Manage access to shared resource with Project Reactor

How to manage access to shared resources using Project Reactor? Given an imaginary critical component that can execute only operation at the time (file store, expensive remote service, etc), how could one orchestrate in reactive manner access to…
schananas
  • 363
  • 1
  • 8