Skip to content

How to emit events from actor logic such as fromObservable #4968

Closed Answered by reramjiawan
reramjiawan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @GabrielAPineiro,

See this part in the docs https://stately.ai/docs/invoke#invoking-event-observables. Just return events from your observables and the rest is handled by the machine. From there you can do whatever you need, sendTo or whatever else.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@GabrielAPineiro
Comment options

@reramjiawan
Comment options

Answer selected by reramjiawan
@GabrielAPineiro
Comment options

@matheo
Comment options

Comment options

You must be logged in to vote
1 reply
@davidkpiano
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
4 participants