fp-taskeither-ref

Installation
SKILL.md

TaskEither Quick Reference

TaskEither = async operation that can fail. Like Promise<Either<E, A>>.

Create

import * as TE from 'fp-ts/TaskEither'

TE.right(value)          // Async success
TE.left(error)           // Async failure
TE.tryCatch(asyncFn, toError)  // Promise → TaskEither
TE.fromEither(either)    // Either → TaskEither

Transform

Installs
2
GitHub Stars
9
First Seen
14 days ago
fp-taskeither-ref — whatiskadudoing/fp-ts-skills