Introducing `tapSyncError`: A New Version of `tap` for Error Handling
Is there a version of
tap
tap
which take a function
(a) => void
(a) => void
Something like:
// what I do these daysEffect.tapError((error) => Effect.sync(() => report(error.message))),// what I'm talking about:Effet.tapSyncError((error) => report(error.message))
// what I do these daysEffect.tapError((error) => Effect.sync(() => report(error.message))),// what I'm talking about:Effet.tapSyncError((error) => report(error.message))