Understanding the Risks and Best Practices for Using `Effect.runtime`
In the API reference docs for
This is how the Express integration is done in the docs here: https://effect.website/docs/integrations/express#setup-steps
In what way is this "unsafe", and what are the gotchas that need to be managed to make this a workable technique?
https://effect-ts.github.io/effect/effect/Effect.ts.html#runtime-1
Effect.runtime :Returns an effect that accesses the runtime, which can be used to (unsafely) execute tasks. This is useful for integration with legacy code that must call back into Effect code.
This is how the Express integration is done in the docs here: https://effect.website/docs/integrations/express#setup-steps
In what way is this "unsafe", and what are the gotchas that need to be managed to make this a workable technique?
https://effect-ts.github.io/effect/effect/Effect.ts.html#runtime-1
