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

Is it possible to write a function that takes a generic Effect.Service.Class and allows you to use it as a tag and a layer within the function? I'm having trouble with the Make type param
Was this page helpful?