Hello) Excuse me, can Executor produce another Int...
# mvikotlin
n
Hello) Excuse me, can Executor produce another Intent depending on some clause? Btw I need a state for this clause. And it looks like that Executor is a good place for it, but there is no way to send Intent inside Executor.
a
Nope, Executor can't send intents. But there are options: 1. You can call
executeIntent
manually from inside the Executor (recommended). 2. You can send a Label and bind it back to an Intent.
n
Ok, thanks for the help 🙂 But now I need to subscribe on messages to send analytics. How can I do that? Because reduce is not a good place to send some analytics.
a
Are you using Reaktive or coroutines?
n
Coroutines
a
I'm not sure I understand the issue, but you can send analytics right in the Executor. Also you can emit Labels and observe them outside, and send the analytics from there.