Transforms the result of this Effect using the provided transform function.
A new Effect containing the transformed value.
The function to transform the value of type A into a value of type B.