Replies: 1 comment 3 replies
-
/cc @cescoffier, @jponge |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I have a question about cancelling in a Uni pipeline. I have a sequence where I do something before the main thing, do the main thing, do something after the main thing. The "before" step needs to be cancellable so my business logic can say "No, you cant do the main thing for some reason".
If I have a Uni pipeline like this pseudocode:
Each of my methods returns a
Uni<String>
how do I emit a "cancel" from my methods so the onCancellation will fire? Something like:
I couldn't find anything in the docs.
Thanks,
Murray
Beta Was this translation helpful? Give feedback.
All reactions