Effect CommunityEC
Effect Community6mo ago
2 replies
mufraggihugo

Communication issue between my API and a fiber using effect.pubSub.

Hello everyone,

To give you a big picture:

I want to run a fiber in parallel with my API that runs a projector.
The goal is for the backend to send IDs to the projector via pub/sub so that it can create projections of my objects in the database.

Right now, both seem to be running in parallel, but I don’t feel like messages are actually being transmitted between them.

Has anyone done this before? Is this a dumb idea??
Was this page helpful?