Creating a Stream for Database Entity Updates
I'm trying to create a stream which needs to first run an effect to get a database entity, then subscribe to updates on that entity. Does this look like the right idea? Type annotations are abbreviated to R, E to de-clutter things
From what I can tell by inserting a log, the effect inside
From what I can tell by inserting a log, the effect inside
Stream.fromEffect is getting running whenever the stream updates. What I would like to do is only run that effect to set up the stream.