Effect CommunityEC
Effect Community2y ago
8 replies
danielo515

Difference in `Effect.tap` and `Effect.tapError` Function Requirements

I noticed that Effec.tap can take any function, but Effect.tapError needs a function returning an effect. Any rreason why is it like that?
Effect.tapError(() =>Effect.sync(undo)),
Was this page helpful?