method Task.prototype.tap
Task.prototype.tap(fn: (value: T) => Promisable<void>): Task<T, E>

Runs a side effect on the successful value.

Parameters

fn: (value: T) => Promisable<void>

Return Type

Task<T, E>

Usage

import { Task } from ".";