Extracting an Interface for Reusable Service Implementation in Effect
In creating a service, for example, from the docs
can I extract the interface out this Random class, so that I can have a reusable implementation, instead of having to declare the implementation in the Effect.provideService block?
E.g.
can I extract the interface out this Random class, so that I can have a reusable implementation, instead of having to declare the implementation in the Effect.provideService block?
E.g.
