Creating a function to use a generic `Effect.Service.Class` as both a tag and a layer - Effect Community