Skip to content

Uni#runSubscriptionOn effect downstream #686

Answered by jponge
gwenneg asked this question in Q&A
Discussion options

You must be logged in to vote

I tend to think that in your case you should look at emitOn, since the blocking operations are while processing items.

Also note that there are helpers at https://smallrye.io/smallrye-mutiny-vertx-bindings/2.13.0/apidocs/io/smallrye/mutiny/vertx/MutinyHelper.html to help you dispatch back to a Vert.x event-loop "executor" (but you need a vertx reference which you likely can get anyway).

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gwenneg
Comment options

You must be logged in to vote
2 replies
@jponge
Comment options

@gwenneg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants