How to write a custom actor that also acts as an observable?

Apologies for reviving an old thread, but I’ve been using Rocket.jl for a few weeks so far, and I had a similar need. I also didn’t know subjects were not allowed to have different types for inputs and outputs, because what I did to solve it was implement a custom Subject.

I can’t help but feel that I’m probably not using Rocket.jl correctly, but… at the same time, it’s actually working really well for my needs. I’m a little embarrassed to admit that it helped me find a solution to a data-flow organization problem that had me stumped for a couple of years.

Oh!

You’re the Lucky.jl guy. That’s the reason I’m using Rocket.jl in the first place. It was a huge revelation for me. My current experimentation takes a lot of inspiration from Lucky.jl (which is a great name btw), and I’m very thankful for your work.