suprnation / cats-actors

Cats Actors framework for building apps which are reactive. Cats actors uses a conceptual actor model as a higher level abstraction for concurrency.
Apache License 2.0
105 stars 9 forks source link

fix: populate sender when asking #20

Closed PetrosPapapa closed 1 month ago

PetrosPapapa commented 1 month ago

This PR adds the sender to the receive context of an ask.

Currently the sender is not being populated on an ask so that the user is not tempted to reply by sending a message back. They need to provide the response as a return value instead.

However, for the FSM replies in #15 we want to be able to send messages back to the original sender.

Use at your own risk!

PetrosPapapa commented 1 month ago

Will be merged in #22