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