Sharing a Global Resource Across Separate Effect Programs
Hi. What is the pattern for sharing a global resource? I have two Effect programs that are ran separately i.e. not forked from a single parent Effect program. They need to share a Cached effect. It seems Ref is what can be used to share between fibers. However, in all the examples in the documentation, the Ref is being created in a parent Effect. Is it OK to create the Ref in a global variable somewhere and use it in the individual Effect programs?
