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
4
votes
1 answer

R Shiny dplyr reactive filters

I'm trying to set up a dashboard where the user can filter data by year, status, and product. Ideally it should run where each product has 2 variables associated, a satisfaction score and an importance score.When filtering from the data set, a…
Ellie
  • 415
  • 7
  • 16
4
votes
1 answer

Stop Angular http Observable stream closing on error

I have a Subject (this.searchSubject) which I call next() on when I want to perform a search: this.searchSubject.next(postBody) This causes the following to fire: this.searchSubject .switchMap((view: any) => { // upsert here records…
Ben Taliadoros
  • 7,003
  • 15
  • 60
  • 97
4
votes
1 answer

Reactive Streams: Spring WebFlux - subscribe to existing publisher

I am currently migrating our existing Spring asynchronous REST architecture to Spring's new WebFlux library and have a question around joining multiple requests so that they can listen for the same published response. Use Case is as follows: Client…
wild_nothing
  • 2,845
  • 1
  • 35
  • 47
4
votes
1 answer

Unable to send json response from WebFilter

I am trying to implement WebFilter in order to check the JWT Header in my Spring WebFlux Application. I managed to find a way to return Publisher instead of Mono.empty(), but the response is not in json format. Here is example of my WebFilter…
Evgeni Atanasov
  • 482
  • 1
  • 5
  • 13
4
votes
2 answers

Reactive Spring Mono and doOnNext

I use spring-boot-starter-webflux, reactor-test and spring-boot-starter-test 2.0.0.M7 in my project. In my RepositoryInMemory.class has a List where you can add String values by saveName(Mono name) method. You can also ask all the…
Query
  • 91
  • 2
  • 6
4
votes
1 answer

Disruptor vs. Reactive architecture for middle-frequency trading system

I'm trying to choose an appropriate architecture for a middle-frequency trading system I'm working on. Currently, I receive messages from Web Socket or Rest and process them right there. Sometimes it includes IO operations (i. e. additional rest…
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
4
votes
2 answers

Reactive Spring Query Parameters

My Spring Reactive Web API should be able to filter based on query parameters but I'm struggling to get this right. GET /v1/address?type=business Should return all addresses of type 'business' in the system (just an example since I'm not posting…
Anthony Ikeda
  • 534
  • 2
  • 6
  • 11
4
votes
1 answer

VueJs - Passing variables between methods

There is a v-select component and on change I am firing up fillData(selected) where selected is the v-model. And I need to update the label in datacollection.datasets.label on change. How do I do that ?