Unexpected Immediate Execution of UserService Method in @effect/platform App Using Bun
I'm encountering weird behaviour in my @effect/platform app using Bun. When I start my app, it seems that the code in one of the methods that my UserService returns is executed immediately, even though the route that depends on the service hasn't been requested.
When I start my application, I see both the "This logs" log and also another log I have in my BullMQ worker (so the addNotifyUserJob gets invoked)
Can anyone help me understand why this might be happening?
When I start my application, I see both the "This logs" log and also another log I have in my BullMQ worker (so the addNotifyUserJob gets invoked)
Can anyone help me understand why this might be happening?
