Hi,
I am implementing an ActorPublisher that reads records from a database.
When the stream is completed I would like to extract some value from the
actor (for example the maximum of some field of the records processed).
Is there a way to extract such a value from the ActorPublisher once the
On Saturday, October 10, 2015 at 11:18:20 PM UTC+2, Konrad Malawski wrote:
>
>
> Since an ActorPublisher can get parameters passed in - it's your Props
> after all - you could simply pass in a Promise to be completed by it for
> example.
>
>
Yeah - thought about that but it somehow felt weird
Hi there,
If the stream completes the actor will be stopped, you can use the usual
`postStop` method
to "do things in there" i.e. signal this max processed element or something
else somewhere.
If you can draw up a more specific example we could work on that.
Do you want to expose this value as