Refactoring Code with Effect.Service Utility Class
I am struggling to refactor some code to use the new Effect.Service utility class. Previously, with
Am I missing something here or is there a recommended way for using
Context.Tag I could consume the service in an effectful pipeline via Effect.andThen(MyService), but now it seems like TS cannot find any overload of Effect.andThen which will accept the class-based MyService. Am I missing something here or is there a recommended way for using
Effect.andThen + Effect.Service? Thanks! (More details in thread)