Replies: 2 comments
-
Appreciate any input. |
Beta Was this translation helpful? Give feedback.
0 replies
-
i mean, you can use Mono.create(sink -> ...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way I can keep my api method void, but use kind of a handler I can use later downstream in my code to send the response.
Example:
Usually I would have following.
Instead expected following. Here mysvc.invoke() method will call say a backend api in an async manner and send a Publisher to the client.
Main reason is we have some apis uses javax AsyncResponse where you can keep a void api method and send response later.
This is to support similar behavior for such written code.
Beta Was this translation helpful? Give feedback.
All reactions