@matechs/effect
Advanced tools
Comparing version 5.0.21 to 5.0.23
@@ -358,3 +358,3 @@ import { bifunctor as Bif, functor as Fun, either as Ei, function as F, monoid as Mon, option as Op, semigroup as Sem, taskEither as TE, task as TA } from "fp-ts"; | ||
*/ | ||
export declare function chainError<R, E1, E2, A>(f: F.FunctionN<[E1], Effect<R, E2, A>>): <R2>(rio: Effect<R2, E1, A>) => Effect<R & R2, E2, A>; | ||
export declare function chainError<R, E1, E2, A>(f: F.FunctionN<[E1], Effect<R, E2, A>>): <A2, R2>(rio: Effect<R2, E1, A2>) => Effect<R & R2, E2, A | A2>; | ||
/** | ||
@@ -361,0 +361,0 @@ * Map the error produced by an IO |
@@ -16,2 +16,3 @@ import * as effect from "./effect"; | ||
import * as retry from "./retry"; | ||
export { effect, stream, managed, queue, ref, concurrentRef, semaphore, exit, streameither, freeEnv, list, utils, sink, retry, eff }; | ||
import * as rec from "./rec"; | ||
export { effect, stream, managed, queue, ref, concurrentRef, semaphore, exit, streameither, freeEnv, list, utils, sink, retry, eff, rec }; |
@@ -16,2 +16,3 @@ import * as effect from "./effect"; | ||
import * as retry from "./retry"; | ||
export { effect, stream, managed, queue, ref, concurrentRef, semaphore, exit, streameither, freeEnv, list, utils, sink, retry, eff }; | ||
import * as rec from "./rec"; | ||
export { effect, stream, managed, queue, ref, concurrentRef, semaphore, exit, streameither, freeEnv, list, utils, sink, retry, eff, rec }; |
@@ -358,3 +358,3 @@ import { bifunctor as Bif, functor as Fun, either as Ei, function as F, monoid as Mon, option as Op, semigroup as Sem, taskEither as TE, task as TA } from "fp-ts"; | ||
*/ | ||
export declare function chainError<R, E1, E2, A>(f: F.FunctionN<[E1], Effect<R, E2, A>>): <R2>(rio: Effect<R2, E1, A>) => Effect<R & R2, E2, A>; | ||
export declare function chainError<R, E1, E2, A>(f: F.FunctionN<[E1], Effect<R, E2, A>>): <A2, R2>(rio: Effect<R2, E1, A2>) => Effect<R & R2, E2, A | A2>; | ||
/** | ||
@@ -361,0 +361,0 @@ * Map the error produced by an IO |
@@ -16,2 +16,3 @@ import * as effect from "./effect"; | ||
import * as retry from "./retry"; | ||
export { effect, stream, managed, queue, ref, concurrentRef, semaphore, exit, streameither, freeEnv, list, utils, sink, retry, eff }; | ||
import * as rec from "./rec"; | ||
export { effect, stream, managed, queue, ref, concurrentRef, semaphore, exit, streameither, freeEnv, list, utils, sink, retry, eff, rec }; |
@@ -40,1 +40,3 @@ "use strict"; | ||
exports.retry = retry; | ||
var rec = __importStar(require("./rec")); | ||
exports.rec = rec; |
{ | ||
"name": "@matechs/effect", | ||
"version": "5.0.21", | ||
"version": "5.0.23", | ||
"license": "MIT", | ||
@@ -41,3 +41,3 @@ "private": false, | ||
}, | ||
"gitHead": "acf48ccb0a04c568657baf02d56934f21ffd2029" | ||
"gitHead": "f5104323f8c47c97a1aaa24d8b48915921757b62" | ||
} |
634760
167
15599