Skip to content

tap

tap<A>(f): (data) => Task<A>

Defined in: Core/Task.ts:110

Executes a side effect on the value without changing the Task. Useful for logging or debugging.

A

(a) => void

(data): Task<A>

Task<A>

Task<A>

pipe(
  loadConfig,
  Task.tap(cfg => console.log("Config:", cfg)),
  Task.map(buildReport)
);