Skip to content

Commit

Permalink
Update async, make sse_events synchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 26, 2024
1 parent 888293b commit 443a5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/aaa-async.R
Original file line number Diff line number Diff line change
Expand Up @@ -2539,7 +2539,7 @@ sse_events <- R6Class(
inherit = event_emitter,
public = list(
initialize = function(http_handle) {
super$initialize()
super$initialize(async = FALSE)
http_handle$event_emitter$listen_on("data", function(bytes) {
private$data <- c(private$data, bytes)
private$emit_events()
Expand Down

0 comments on commit 443a5d9

Please sign in to comment.