Skip to content

tap

tap<E, A>(f): (outcome) => Outcome<E, A>

Defined in: Core/Op.ts:651

Runs a side effect on the success value without changing the Outcome.

E

A

(a) => void

(outcome): Outcome<E, A>

Outcome<E, A>

Outcome<E, A>

pipe(outcome, Op.tap(user => console.log("loaded", user.id)));