Performance Concerns with Running Effects Inside the Application
I have a codebase that is gradually migrating from promises to effects. We often have to switch between them during the trace of a request, Effect.promise(() => ....) and Effect.runPromise(() ...), wrapping and unwrapping.
Is there a considerable performance concern with running effects not at the boundaries of the application? Or is the main reason to run effects at the boundary because it simply makes sense e.g. in terms in terms of error handling and separation of domain
Is there a considerable performance concern with running effects not at the boundaries of the application? Or is the main reason to run effects at the boundary because it simply makes sense e.g. in terms in terms of error handling and separation of domain
