Mutiny support on Apollo Android (Java/kotlin) GraphQL client #603
-
Hi @cescoffier @jponge, I'm new to Mutiny, I tried to translate ReactorApollo to MutinyApollo. I was a bit confused about Emitter and Cancelable. What is the equivalent of Disposable in Mutiny ? Thanks Moncef |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Cancellable is equivalent to Disposable, I guess. |
Beta Was this translation helpful? Give feedback.
-
In
To achieve the same behavior in Mutiny, I used Is it correct ? Thanks |
Beta Was this translation helpful? Give feedback.
-
On Sun 27 Jun 2021 at 21:30, Moncef AOUDIA ***@***.***> wrote:
Great, I'll use onTermination.
When I'm using Uni Emitter, I order to complete without any value, I
should use emitter.complete(null) ?
Yes, as Uni supports null value.
What's the equivalent of CompositeDisposable in Mutiny ?
I’ve no idea what that is. Is it just an aggregate of Disposable?
—
… You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#603 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADCG7N6JSVMBYY26S37LW3TU536XANCNFSM47LQ7GYQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I would cancel/dispose Is there a way to achieve this in Mutiny ? |
Beta Was this translation helpful? Give feedback.
Cancellable is equivalent to Disposable, I guess.