Shortcut for Applying Arguments to Services Returning Effects in Pipelines
When I have a service that's a function that returns an effect, is there a shortcut for accessing the service and applying some value?
In the generator syntax, seeing:
is common. In a pipeline, though, it seems a bit awkward, needing:
While I could extract a helper function for each service, is there some generic way to apply an argument to an Effect containing a function that returns an Effect? Something like:
In the generator syntax, seeing:
is common. In a pipeline, though, it seems a bit awkward, needing:
While I could extract a helper function for each service, is there some generic way to apply an argument to an Effect containing a function that returns an Effect? Something like:
