@typed/fx 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Fx.d.ts +3 -3
- package/dist/Fx.d.ts.map +1 -1
- package/dist/Subject/HoldSubject.d.ts +3 -3
- package/dist/Subject/HoldSubject.d.ts.map +1 -1
- package/dist/Subject/HoldSubject.js.map +1 -1
- package/dist/Subject/Subject.js +1 -1
- package/dist/Subject/Subject.js.map +1 -1
- package/dist/Subject/SynchronizedSubject.js +1 -1
- package/dist/Subject/SynchronizedSubject.js.map +1 -1
- package/dist/_internal/RefCounter.d.ts +1 -1
- package/dist/_internal/RefCounter.d.ts.map +1 -1
- package/dist/constructor/async.d.ts +2 -2
- package/dist/constructor/async.d.ts.map +1 -1
- package/dist/constructor/asyncEffect.d.ts +1 -1
- package/dist/constructor/asyncEffect.d.ts.map +1 -1
- package/dist/constructor/asyncInterrupt.d.ts +2 -2
- package/dist/constructor/asyncInterrupt.d.ts.map +1 -1
- package/dist/constructor/asyncInterrupt.js.map +1 -1
- package/dist/constructor/asyncOption.d.ts +3 -3
- package/dist/constructor/asyncOption.d.ts.map +1 -1
- package/dist/constructor/at.d.ts +2 -2
- package/dist/constructor/at.d.ts.map +1 -1
- package/dist/constructor/die.d.ts +1 -1
- package/dist/constructor/die.d.ts.map +1 -1
- package/dist/constructor/dieMessage.d.ts +1 -1
- package/dist/constructor/dieMessage.d.ts.map +1 -1
- package/dist/constructor/dieSync.d.ts +1 -1
- package/dist/constructor/dieSync.d.ts.map +1 -1
- package/dist/constructor/done.js +1 -1
- package/dist/constructor/done.js.map +1 -1
- package/dist/constructor/empty.js +1 -1
- package/dist/constructor/empty.js.map +1 -1
- package/dist/constructor/fail.d.ts +1 -1
- package/dist/constructor/fail.d.ts.map +1 -1
- package/dist/constructor/failCause.d.ts +2 -2
- package/dist/constructor/failCause.d.ts.map +1 -1
- package/dist/constructor/failCauseSync.d.ts +2 -2
- package/dist/constructor/failCauseSync.d.ts.map +1 -1
- package/dist/constructor/fromArray.js +1 -1
- package/dist/constructor/fromArray.js.map +1 -1
- package/dist/constructor/fromEffect.js +1 -1
- package/dist/constructor/fromEffect.js.map +1 -1
- package/dist/constructor/fromEither.d.ts +2 -2
- package/dist/constructor/fromEither.d.ts.map +1 -1
- package/dist/constructor/fromEitherCause.d.ts +3 -3
- package/dist/constructor/fromEitherCause.d.ts.map +1 -1
- package/dist/constructor/fromEmitter.d.ts +3 -3
- package/dist/constructor/fromEmitter.d.ts.map +1 -1
- package/dist/constructor/fromFiber.d.ts +2 -2
- package/dist/constructor/fromFiber.d.ts.map +1 -1
- package/dist/constructor/fromFiberEffect.d.ts +2 -2
- package/dist/constructor/fromFiberEffect.d.ts.map +1 -1
- package/dist/constructor/fromIterable.js +1 -1
- package/dist/constructor/fromIterable.js.map +1 -1
- package/dist/constructor/fromOption.d.ts +2 -2
- package/dist/constructor/fromOption.d.ts.map +1 -1
- package/dist/constructor/gen.d.ts +2 -2
- package/dist/constructor/gen.d.ts.map +1 -1
- package/dist/constructor/never.js +1 -1
- package/dist/constructor/never.js.map +1 -1
- package/dist/constructor/periodic.d.ts +2 -2
- package/dist/constructor/periodic.d.ts.map +1 -1
- package/dist/constructor/promise.d.ts +1 -1
- package/dist/constructor/promise.d.ts.map +1 -1
- package/dist/constructor/promiseAbort.d.ts +1 -1
- package/dist/constructor/promiseAbort.d.ts.map +1 -1
- package/dist/constructor/random.d.ts +2 -2
- package/dist/constructor/random.d.ts.map +1 -1
- package/dist/constructor/scheduled.d.ts +1 -1
- package/dist/constructor/scheduled.d.ts.map +1 -1
- package/dist/constructor/service.d.ts +2 -2
- package/dist/constructor/service.d.ts.map +1 -1
- package/dist/constructor/serviceWith.d.ts +2 -2
- package/dist/constructor/serviceWith.d.ts.map +1 -1
- package/dist/constructor/serviceWithEffect.d.ts +2 -2
- package/dist/constructor/serviceWithEffect.d.ts.map +1 -1
- package/dist/constructor/serviceWithFx.d.ts +1 -1
- package/dist/constructor/serviceWithFx.d.ts.map +1 -1
- package/dist/constructor/sync.d.ts +1 -1
- package/dist/constructor/sync.d.ts.map +1 -1
- package/dist/constructor/tryCatchPromise.d.ts +1 -1
- package/dist/constructor/tryCatchPromise.d.ts.map +1 -1
- package/dist/constructor/tryCatchPromiseAbort.d.ts +1 -1
- package/dist/constructor/tryCatchPromiseAbort.d.ts.map +1 -1
- package/dist/constructor/tryPromise.d.ts +1 -1
- package/dist/constructor/tryPromise.d.ts.map +1 -1
- package/dist/constructor/tryPromiseAbort.d.ts +1 -1
- package/dist/constructor/tryPromiseAbort.d.ts.map +1 -1
- package/dist/operator/as.d.ts +1 -1
- package/dist/operator/as.d.ts.map +1 -1
- package/dist/operator/catchAll.d.ts +1 -1
- package/dist/operator/catchAll.d.ts.map +1 -1
- package/dist/operator/catchAllCause.d.ts +1 -1
- package/dist/operator/catchAllCause.d.ts.map +1 -1
- package/dist/operator/catchAllDefect.d.ts +1 -1
- package/dist/operator/catchAllDefect.d.ts.map +1 -1
- package/dist/operator/compact.d.ts +2 -2
- package/dist/operator/compact.d.ts.map +1 -1
- package/dist/operator/concatMap.d.ts +1 -1
- package/dist/operator/concatMap.d.ts.map +1 -1
- package/dist/operator/debounce.d.ts +1 -1
- package/dist/operator/debounce.d.ts.map +1 -1
- package/dist/operator/delay.d.ts +1 -1
- package/dist/operator/delay.d.ts.map +1 -1
- package/dist/operator/exhaustMapEffect.d.ts +2 -2
- package/dist/operator/exhaustMapEffect.d.ts.map +1 -1
- package/dist/operator/exhaustMapLatestEffect.d.ts +2 -2
- package/dist/operator/exhaustMapLatestEffect.d.ts.map +1 -1
- package/dist/operator/filter.d.ts +1 -1
- package/dist/operator/filter.d.ts.map +1 -1
- package/dist/operator/flatMapCause.d.ts +1 -1
- package/dist/operator/flatMapCause.d.ts.map +1 -1
- package/dist/operator/flatMapConcurrently.d.ts +1 -1
- package/dist/operator/flatMapConcurrently.d.ts.map +1 -1
- package/dist/operator/flatMapEffect.d.ts +2 -2
- package/dist/operator/flatMapEffect.d.ts.map +1 -1
- package/dist/operator/flatMapEffectConcurrently.d.ts +2 -2
- package/dist/operator/flatMapEffectConcurrently.d.ts.map +1 -1
- package/dist/operator/hold.d.ts +3 -3
- package/dist/operator/hold.d.ts.map +1 -1
- package/dist/operator/mapCause.d.ts +1 -1
- package/dist/operator/mapCause.d.ts.map +1 -1
- package/dist/operator/mapError.d.ts +1 -1
- package/dist/operator/mapError.d.ts.map +1 -1
- package/dist/operator/multicast.d.ts +4 -4
- package/dist/operator/multicast.d.ts.map +1 -1
- package/dist/operator/onDone.d.ts +1 -1
- package/dist/operator/onDone.d.ts.map +1 -1
- package/dist/operator/onError.d.ts +1 -1
- package/dist/operator/onError.d.ts.map +1 -1
- package/dist/operator/onExit.d.ts +2 -2
- package/dist/operator/onExit.d.ts.map +1 -1
- package/dist/operator/onInterrupt.d.ts +2 -2
- package/dist/operator/onInterrupt.d.ts.map +1 -1
- package/dist/operator/orElse.d.ts +1 -1
- package/dist/operator/orElse.d.ts.map +1 -1
- package/dist/operator/provideLayer.d.ts +2 -2
- package/dist/operator/provideLayer.d.ts.map +1 -1
- package/dist/operator/provideService.d.ts +1 -1
- package/dist/operator/provideService.d.ts.map +1 -1
- package/dist/operator/provideServiceEffect.d.ts +1 -1
- package/dist/operator/provideServiceEffect.d.ts.map +1 -1
- package/dist/operator/provideSomeLayer.d.ts +1 -1
- package/dist/operator/provideSomeLayer.d.ts.map +1 -1
- package/dist/operator/sample.d.ts +1 -1
- package/dist/operator/sample.d.ts.map +1 -1
- package/dist/operator/sandbox.d.ts +2 -2
- package/dist/operator/sandbox.d.ts.map +1 -1
- package/dist/operator/scan.d.ts +1 -1
- package/dist/operator/scan.d.ts.map +1 -1
- package/dist/operator/scanEffect.js +1 -1
- package/dist/operator/scanEffect.js.map +1 -1
- package/dist/operator/separate.d.ts +1 -1
- package/dist/operator/separate.d.ts.map +1 -1
- package/dist/operator/skip.d.ts +1 -1
- package/dist/operator/skip.d.ts.map +1 -1
- package/dist/operator/skipAfter.d.ts +1 -1
- package/dist/operator/skipAfter.d.ts.map +1 -1
- package/dist/operator/skipUntil.d.ts +1 -1
- package/dist/operator/skipUntil.d.ts.map +1 -1
- package/dist/operator/skipWhile.d.ts +2 -2
- package/dist/operator/skipWhile.d.ts.map +1 -1
- package/dist/operator/skipWhile.js.map +1 -1
- package/dist/operator/startWith.d.ts +1 -1
- package/dist/operator/startWith.d.ts.map +1 -1
- package/dist/operator/struct.d.ts +1 -1
- package/dist/operator/struct.d.ts.map +1 -1
- package/dist/operator/switchMapCause.d.ts +1 -1
- package/dist/operator/switchMapCause.d.ts.map +1 -1
- package/dist/operator/switchMapCause.js.map +1 -1
- package/dist/operator/switchMapEffect.d.ts +2 -2
- package/dist/operator/switchMapEffect.d.ts.map +1 -1
- package/dist/operator/switchMapError.d.ts +2 -2
- package/dist/operator/switchMapError.d.ts.map +1 -1
- package/dist/operator/switchMapError.js +1 -1
- package/dist/operator/switchMapError.js.map +1 -1
- package/dist/operator/switchMatch.d.ts.map +1 -1
- package/dist/operator/switchMatch.js +2 -2
- package/dist/operator/switchMatch.js.map +1 -1
- package/dist/operator/take.d.ts +1 -1
- package/dist/operator/take.d.ts.map +1 -1
- package/dist/operator/takeUntil.d.ts +1 -1
- package/dist/operator/takeUntil.d.ts.map +1 -1
- package/dist/operator/takeWhile.d.ts +2 -2
- package/dist/operator/takeWhile.d.ts.map +1 -1
- package/dist/operator/takeWhile.js.map +1 -1
- package/dist/operator/tap.d.ts +1 -1
- package/dist/operator/tap.d.ts.map +1 -1
- package/dist/operator/tapDefect.d.ts +1 -1
- package/dist/operator/tapDefect.d.ts.map +1 -1
- package/dist/operator/tapError.d.ts +1 -1
- package/dist/operator/tapError.d.ts.map +1 -1
- package/dist/operator/throttle.d.ts +2 -2
- package/dist/operator/throttle.d.ts.map +1 -1
- package/dist/operator/tuple.d.ts +1 -1
- package/dist/operator/tuple.d.ts.map +1 -1
- package/dist/operator/withItems.d.ts +1 -1
- package/dist/operator/withItems.d.ts.map +1 -1
- package/dist/operator/withRuntimeFlags.d.ts +1 -1
- package/dist/operator/withRuntimeFlags.d.ts.map +1 -1
- package/dist/run/collectAll.d.ts +1 -1
- package/dist/run/collectAll.d.ts.map +1 -1
- package/dist/run/collectN.d.ts +1 -1
- package/dist/run/collectN.d.ts.map +1 -1
- package/dist/run/drain.d.ts +1 -1
- package/dist/run/drain.d.ts.map +1 -1
- package/dist/run/observe.d.ts +2 -2
- package/dist/run/observe.d.ts.map +1 -1
- package/dist/run/reduce.d.ts +1 -1
- package/dist/run/reduce.d.ts.map +1 -1
- package/dist/run/run.d.ts +2 -2
- package/dist/run/run.d.ts.map +1 -1
- package/dist/run/run.js +1 -1
- package/dist/run/run.js.map +1 -1
- package/dist/run/unsafe.d.ts +5 -5
- package/dist/run/unsafe.d.ts.map +1 -1
- package/dist/typeclass/Alternative.d.ts +2 -2
- package/dist/typeclass/Alternative.d.ts.map +1 -1
- package/dist/typeclass/Applicative.d.ts +2 -2
- package/dist/typeclass/Applicative.d.ts.map +1 -1
- package/dist/typeclass/Bicovariant.d.ts +2 -2
- package/dist/typeclass/Bicovariant.d.ts.map +1 -1
- package/dist/typeclass/Chainable.d.ts +2 -2
- package/dist/typeclass/Chainable.d.ts.map +1 -1
- package/dist/typeclass/Coproduct.d.ts +2 -2
- package/dist/typeclass/Coproduct.d.ts.map +1 -1
- package/dist/typeclass/Covariant.d.ts +2 -2
- package/dist/typeclass/Covariant.d.ts.map +1 -1
- package/dist/typeclass/FlatMap.d.ts +2 -2
- package/dist/typeclass/FlatMap.d.ts.map +1 -1
- package/dist/typeclass/Monad.d.ts +2 -2
- package/dist/typeclass/Monad.d.ts.map +1 -1
- package/dist/typeclass/Of.d.ts +2 -2
- package/dist/typeclass/Of.d.ts.map +1 -1
- package/dist/typeclass/Pointed.d.ts +2 -2
- package/dist/typeclass/Pointed.d.ts.map +1 -1
- package/dist/typeclass/Product.d.ts +2 -2
- package/dist/typeclass/Product.d.ts.map +1 -1
- package/dist/typeclass/SemiAlternative.d.ts +2 -2
- package/dist/typeclass/SemiAlternative.d.ts.map +1 -1
- package/dist/typeclass/SemiApplicative.d.ts +2 -2
- package/dist/typeclass/SemiApplicative.d.ts.map +1 -1
- package/dist/typeclass/SemiCoproduct.d.ts +2 -2
- package/dist/typeclass/SemiCoproduct.d.ts.map +1 -1
- package/dist/typeclass/SemiProduct.d.ts +1 -1
- package/dist/typeclass/SemiProduct.d.ts.map +1 -1
- package/dist/typeclass/TypeLambda.d.ts +2 -2
- package/dist/typeclass/TypeLambda.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Fx.ts +3 -3
- package/src/Subject/HoldSubject.ts +3 -3
- package/src/_internal/RefCounter.ts +1 -1
- package/src/constructor/async.ts +2 -2
- package/src/constructor/asyncEffect.ts +1 -1
- package/src/constructor/asyncInterrupt.ts +3 -5
- package/src/constructor/asyncOption.ts +3 -3
- package/src/constructor/at.ts +2 -2
- package/src/constructor/die.ts +1 -1
- package/src/constructor/dieMessage.ts +1 -1
- package/src/constructor/dieSync.ts +1 -1
- package/src/constructor/fail.ts +1 -1
- package/src/constructor/failCause.ts +2 -2
- package/src/constructor/failCauseSync.ts +2 -2
- package/src/constructor/fromEither.ts +2 -2
- package/src/constructor/fromEitherCause.ts +3 -3
- package/src/constructor/fromEmitter.ts +3 -3
- package/src/constructor/fromFiber.ts +2 -2
- package/src/constructor/fromFiberEffect.ts +2 -2
- package/src/constructor/fromOption.ts +2 -2
- package/src/constructor/gen.ts +2 -2
- package/src/constructor/periodic.ts +2 -2
- package/src/constructor/promise.ts +1 -1
- package/src/constructor/promiseAbort.ts +1 -1
- package/src/constructor/random.ts +2 -2
- package/src/constructor/scheduled.ts +1 -1
- package/src/constructor/service.ts +2 -2
- package/src/constructor/serviceWith.ts +2 -2
- package/src/constructor/serviceWithEffect.ts +2 -2
- package/src/constructor/serviceWithFx.ts +1 -1
- package/src/constructor/sync.ts +1 -1
- package/src/constructor/tryCatchPromise.ts +1 -1
- package/src/constructor/tryCatchPromiseAbort.ts +1 -1
- package/src/constructor/tryPromise.ts +1 -1
- package/src/constructor/tryPromiseAbort.ts +1 -1
- package/src/operator/as.ts +1 -1
- package/src/operator/catchAll.ts +1 -1
- package/src/operator/catchAllCause.ts +1 -1
- package/src/operator/catchAllDefect.ts +1 -1
- package/src/operator/compact.ts +2 -2
- package/src/operator/concatMap.ts +1 -1
- package/src/operator/debounce.ts +1 -1
- package/src/operator/delay.ts +1 -1
- package/src/operator/exhaustMap.ts +1 -1
- package/src/operator/exhaustMapEffect.ts +2 -2
- package/src/operator/exhaustMapLatest.ts +2 -2
- package/src/operator/exhaustMapLatestEffect.ts +2 -2
- package/src/operator/filter.ts +1 -1
- package/src/operator/flatMapCause.ts +1 -1
- package/src/operator/flatMapConcurrently.ts +1 -1
- package/src/operator/flatMapEffect.ts +2 -2
- package/src/operator/flatMapEffectConcurrently.ts +2 -2
- package/src/operator/hold.ts +3 -3
- package/src/operator/mapCause.ts +1 -1
- package/src/operator/mapError.ts +1 -1
- package/src/operator/multicast.ts +4 -4
- package/src/operator/onDone.ts +1 -1
- package/src/operator/onError.ts +1 -1
- package/src/operator/onExit.ts +2 -2
- package/src/operator/onInterrupt.ts +2 -2
- package/src/operator/orElse.ts +1 -1
- package/src/operator/provideEnvironment.ts +1 -1
- package/src/operator/provideLayer.ts +2 -2
- package/src/operator/provideService.ts +1 -1
- package/src/operator/provideServiceEffect.ts +2 -2
- package/src/operator/provideSomeEnvironment.ts +1 -1
- package/src/operator/provideSomeLayer.ts +1 -1
- package/src/operator/race.ts +1 -1
- package/src/operator/sample.ts +1 -1
- package/src/operator/sandbox.ts +2 -2
- package/src/operator/scan.ts +1 -1
- package/src/operator/separate.ts +1 -1
- package/src/operator/since.test.ts +48 -47
- package/src/operator/skip.ts +1 -1
- package/src/operator/skipAfter.ts +1 -1
- package/src/operator/skipUntil.ts +1 -1
- package/src/operator/skipWhile.ts +2 -2
- package/src/operator/startWith.ts +1 -1
- package/src/operator/struct.ts +1 -1
- package/src/operator/switchMapCause.ts +4 -4
- package/src/operator/switchMapEffect.ts +2 -2
- package/src/operator/switchMapError.ts +4 -7
- package/src/operator/switchMatch.test.ts +2 -2
- package/src/operator/switchMatch.ts +2 -2
- package/src/operator/take.ts +1 -1
- package/src/operator/takeUntil.ts +2 -2
- package/src/operator/takeWhile.ts +2 -2
- package/src/operator/tap.ts +1 -1
- package/src/operator/tapDefect.ts +1 -1
- package/src/operator/tapError.ts +1 -1
- package/src/operator/throttle.ts +3 -3
- package/src/operator/tuple.ts +1 -1
- package/src/operator/until.test.ts +47 -47
- package/src/operator/withItems.ts +1 -1
- package/src/operator/withRuntimeFlags.ts +1 -1
- package/src/run/collectAll.ts +1 -1
- package/src/run/collectN.ts +1 -1
- package/src/run/drain.ts +1 -1
- package/src/run/observe.ts +2 -2
- package/src/run/reduce.ts +1 -1
- package/src/run/run.ts +2 -2
- package/src/run/unsafe.ts +5 -5
- package/src/typeclass/Alternative.ts +2 -2
- package/src/typeclass/Applicative.ts +3 -3
- package/src/typeclass/Bicovariant.ts +2 -2
- package/src/typeclass/Chainable.ts +2 -2
- package/src/typeclass/Coproduct.ts +3 -3
- package/src/typeclass/Covariant.ts +2 -2
- package/src/typeclass/FlatMap.ts +2 -2
- package/src/typeclass/Monad.ts +2 -2
- package/src/typeclass/Of.ts +2 -2
- package/src/typeclass/Pointed.ts +2 -2
- package/src/typeclass/Product.ts +2 -2
- package/src/typeclass/SemiAlternative.ts +2 -2
- package/src/typeclass/SemiApplicative.ts +2 -2
- package/src/typeclass/SemiCoproduct.ts +2 -2
- package/src/typeclass/SemiProduct.ts +1 -1
- package/src/typeclass/TypeLambda.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as CP from '@fp-ts/core/typeclass/Coproduct';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as CP from '@fp-ts/core/typeclass/Coproduct';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const CoproductRace: CP.Coproduct<FxTypeLambda>;
|
|
4
4
|
export declare const CoproductOrElse: CP.Coproduct<FxTypeLambda>;
|
|
5
5
|
//# sourceMappingURL=Coproduct.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Coproduct.d.ts","sourceRoot":"","sources":["../../src/typeclass/Coproduct.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"Coproduct.d.ts","sourceRoot":"","sources":["../../src/typeclass/Coproduct.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,iCAAiC,CAAA;AAS1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,SAAS,CAAC,YAAY,CAKpD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,YAAY,CAKtD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as C from '@fp-ts/core/typeclass/Covariant';
|
|
2
|
-
import { Fx } from '../Fx.js';
|
|
3
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
2
|
+
import type { Fx } from '../Fx.js';
|
|
3
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
4
4
|
export declare const Covariant: C.Covariant<FxTypeLambda>;
|
|
5
5
|
export declare const flap: <A>(a: A) => <R, E, B>(self: Fx<R, E, (a: A) => B>) => Fx<R, E, B>;
|
|
6
6
|
export declare const imap: <A, B>(to: (a: A) => B, from: (b: B) => A) => <R, E>(self: Fx<R, E, A>) => Fx<R, E, B>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Covariant.d.ts","sourceRoot":"","sources":["../../src/typeclass/Covariant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,iCAAiC,CAAA;AAEpD,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"Covariant.d.ts","sourceRoot":"","sources":["../../src/typeclass/Covariant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,iCAAiC,CAAA;AAEpD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,UAAU,CAAA;AAGlC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,YAAY,CAAyB,CAAA;AAEzE,eAAO,MAAM,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CACjE,CAAA;AAEnB,eAAO,MAAM,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EACtB,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EACf,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KACd,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAuC,CAAA;AAEnF,QAAA,MAAM,IAAI,EAAE,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,CAAC,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,EACzB,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KACX,CAAC,CAAC,EAAE,CAAC,EACR,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KACd,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;IAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;CAAE,CAAoB,CAAA;AAE/F,OAAO,EAAE,IAAI,IAAI,GAAG,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as F from '@fp-ts/core/typeclass/FlatMap';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as F from '@fp-ts/core/typeclass/FlatMap';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const FlatMap: F.FlatMap<FxTypeLambda>;
|
|
4
4
|
export declare const SwitchMap: F.FlatMap<FxTypeLambda>;
|
|
5
5
|
export declare const ExhaustMap: F.FlatMap<FxTypeLambda>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatMap.d.ts","sourceRoot":"","sources":["../../src/typeclass/FlatMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"FlatMap.d.ts","sourceRoot":"","sources":["../../src/typeclass/FlatMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,+BAA+B,CAAA;AAMvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAE3C,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAE7C,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAE9C,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as M from '@fp-ts/core/typeclass/Monad';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as M from '@fp-ts/core/typeclass/Monad';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const Monad: M.Monad<FxTypeLambda>;
|
|
4
4
|
export declare const MonadSwitch: M.Monad<FxTypeLambda>;
|
|
5
5
|
export declare const MonadExhaust: M.Monad<FxTypeLambda>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Monad.d.ts","sourceRoot":"","sources":["../../src/typeclass/Monad.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"Monad.d.ts","sourceRoot":"","sources":["../../src/typeclass/Monad.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,6BAA6B,CAAA;AAKrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,CAIvC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,CAI7C,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,CAI9C,CAAA"}
|
package/dist/typeclass/Of.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as O from '@fp-ts/core/typeclass/Of';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as O from '@fp-ts/core/typeclass/Of';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const Of: O.Of<FxTypeLambda>;
|
|
4
4
|
//# sourceMappingURL=Of.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Of.d.ts","sourceRoot":"","sources":["../../src/typeclass/Of.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"Of.d.ts","sourceRoot":"","sources":["../../src/typeclass/Of.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,0BAA0B,CAAA;AAIlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,YAAY,CAEjC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as P from '@fp-ts/core/typeclass/Pointed';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as P from '@fp-ts/core/typeclass/Pointed';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const Pointed: P.Pointed<FxTypeLambda>;
|
|
4
4
|
//# sourceMappingURL=Pointed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pointed.d.ts","sourceRoot":"","sources":["../../src/typeclass/Pointed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"Pointed.d.ts","sourceRoot":"","sources":["../../src/typeclass/Pointed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,+BAA+B,CAAA;AAIvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAG3C,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as P from '@fp-ts/core/typeclass/Product';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as P from '@fp-ts/core/typeclass/Product';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const Product: P.Product<FxTypeLambda>;
|
|
4
4
|
//# sourceMappingURL=Product.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../src/typeclass/Product.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../src/typeclass/Product.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,+BAA+B,CAAA;AAMvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAI3C,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as SA from '@fp-ts/core/typeclass/SemiAlternative';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as SA from '@fp-ts/core/typeclass/SemiAlternative';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const SemiAlternativeRace: SA.SemiAlternative<FxTypeLambda>;
|
|
4
4
|
export declare const SemiAlternativeOrElse: SA.SemiAlternative<FxTypeLambda>;
|
|
5
5
|
//# sourceMappingURL=SemiAlternative.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemiAlternative.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiAlternative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,uCAAuC,CAAA;
|
|
1
|
+
{"version":3,"file":"SemiAlternative.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiAlternative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,uCAAuC,CAAA;AAIhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,eAAe,CAAC,YAAY,CAGhE,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAAe,CAAC,YAAY,CAGlE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as SA from '@fp-ts/core/typeclass/SemiApplicative';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as SA from '@fp-ts/core/typeclass/SemiApplicative';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const SemiApplicative: SA.SemiApplicative<FxTypeLambda>;
|
|
4
4
|
//# sourceMappingURL=SemiApplicative.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemiApplicative.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiApplicative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,uCAAuC,CAAA;
|
|
1
|
+
{"version":3,"file":"SemiApplicative.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiApplicative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,uCAAuC,CAAA;AAIhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,YAAY,CAG5D,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as SCP from '@fp-ts/core/typeclass/SemiCoproduct';
|
|
2
|
-
import { FxTypeLambda } from './TypeLambda.js';
|
|
1
|
+
import type * as SCP from '@fp-ts/core/typeclass/SemiCoproduct';
|
|
2
|
+
import type { FxTypeLambda } from './TypeLambda.js';
|
|
3
3
|
export declare const SemiCoproductRace: SCP.SemiCoproduct<FxTypeLambda>;
|
|
4
4
|
export declare const SemiCoproductOrElse: SCP.SemiCoproduct<FxTypeLambda>;
|
|
5
5
|
//# sourceMappingURL=SemiCoproduct.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemiCoproduct.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiCoproduct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"SemiCoproduct.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiCoproduct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,qCAAqC,CAAA;AAM/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,iBAAiB,EAAE,GAAG,CAAC,aAAa,CAAC,YAAY,CAI7D,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,GAAG,CAAC,aAAa,CAAC,YAAY,CAK/D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemiProduct.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiProduct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,mCAAmC,CAAA;AAKvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"SemiProduct.d.ts","sourceRoot":"","sources":["../../src/typeclass/SemiProduct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,mCAAmC,CAAA;AAKvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,YAAY,CAIpD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TypeLambda } from '@fp-ts/core/HKT';
|
|
2
|
-
import { Fx } from '../Fx.js';
|
|
1
|
+
import type { TypeLambda } from '@fp-ts/core/HKT';
|
|
2
|
+
import type { Fx } from '../Fx.js';
|
|
3
3
|
export interface FxTypeLambda extends TypeLambda {
|
|
4
4
|
readonly type: Fx<this['Out2'], this['Out1'], this['Target']>;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeLambda.d.ts","sourceRoot":"","sources":["../../src/typeclass/TypeLambda.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"TypeLambda.d.ts","sourceRoot":"","sources":["../../src/typeclass/TypeLambda.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,UAAU,CAAA;AAElC,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;CAC9D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typed/fx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@fp-ts/core": "~0.0.11",
|
|
23
23
|
"@fp-ts/data": "~0.0.36"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "3ae3d0caee56c34fe92cd31ce4092765769ef519",
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
package/src/Fx.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cause } from '@effect/io/Cause'
|
|
2
|
-
import { Effect } from '@effect/io/Effect'
|
|
3
|
-
import { Scope } from '@effect/io/Scope'
|
|
1
|
+
import type { Cause } from '@effect/io/Cause'
|
|
2
|
+
import type { Effect } from '@effect/io/Effect'
|
|
3
|
+
import type { Scope } from '@effect/io/Scope'
|
|
4
4
|
import { identity } from '@fp-ts/data/Function'
|
|
5
5
|
|
|
6
6
|
export interface Fx<R, E, A> extends Fx.Variance<R, E, A> {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
2
|
import { identity } from '@fp-ts/data/Function'
|
|
3
|
-
import { MutableRef, make } from '@fp-ts/data/MutableRef'
|
|
4
|
-
import { Option, none } from '@fp-ts/data/Option'
|
|
3
|
+
import { type MutableRef, make } from '@fp-ts/data/MutableRef'
|
|
4
|
+
import { type Option, none } from '@fp-ts/data/Option'
|
|
5
5
|
|
|
6
|
-
import { Fx, Sink } from '../Fx.js'
|
|
6
|
+
import type { Fx, Sink } from '../Fx.js'
|
|
7
7
|
import { never } from '../constructor/never.js'
|
|
8
8
|
import { HoldFx } from '../operator/hold.js'
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import * as Effect from '@effect/io/Effect'
|
|
|
3
3
|
import * as Fiber from '@effect/io/Fiber'
|
|
4
4
|
import * as Ref from '@effect/io/Ref'
|
|
5
5
|
import * as Schedule from '@effect/io/Schedule'
|
|
6
|
-
import { Scope } from '@effect/io/Scope'
|
|
6
|
+
import type { Scope } from '@effect/io/Scope'
|
|
7
7
|
import { millis } from '@fp-ts/data/Duration'
|
|
8
8
|
import { pipe } from '@fp-ts/data/Function'
|
|
9
9
|
|
package/src/constructor/async.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { FiberId } from '@effect/io/Fiber/Id'
|
|
2
|
+
import type { FiberId } from '@effect/io/Fiber/Id'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { FiberId } from '@effect/io/Fiber/Id'
|
|
2
|
+
import type { FiberId } from '@effect/io/Fiber/Id'
|
|
3
3
|
|
|
4
|
-
import { Fx } from '../Fx.js'
|
|
4
|
+
import type { Fx } from '../Fx.js'
|
|
5
5
|
|
|
6
6
|
import { fromEffect } from './fromEffect.js'
|
|
7
7
|
|
|
8
8
|
export const asyncInterrupt = <R, E, A>(
|
|
9
|
-
register: (
|
|
10
|
-
callback: (effect: Effect.Effect<R, E, A>) => void,
|
|
11
|
-
) => Effect.Effect<R, never, void>,
|
|
9
|
+
register: (callback: (effect: Effect.Effect<R, E, A>) => void) => Effect.Effect<R, never, void>,
|
|
12
10
|
blockingOn?: FiberId | undefined,
|
|
13
11
|
): Fx<R, E, A> => fromEffect(Effect.asyncInterrupt<R, E, A>(register, blockingOn))
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { FiberId } from '@effect/io/Fiber/Id'
|
|
2
|
+
import type { FiberId } from '@effect/io/Fiber/Id'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
|
-
import { Option } from '@fp-ts/data/Option'
|
|
4
|
+
import type { Option } from '@fp-ts/data/Option'
|
|
5
5
|
|
|
6
|
-
import { Fx } from '../Fx.js'
|
|
6
|
+
import type { Fx } from '../Fx.js'
|
|
7
7
|
|
|
8
8
|
import { fromEffect } from './fromEffect.js'
|
|
9
9
|
|
package/src/constructor/at.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Duration } from '@fp-ts/data/Duration'
|
|
2
|
+
import type { Duration } from '@fp-ts/data/Duration'
|
|
3
3
|
import { pipe } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
package/src/constructor/die.ts
CHANGED
package/src/constructor/fail.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Cause } from '@effect/io/Cause'
|
|
1
|
+
import type { Cause } from '@effect/io/Cause'
|
|
2
2
|
import * as Effect from '@effect/io/Effect'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Cause } from '@effect/io/Cause'
|
|
1
|
+
import type { Cause } from '@effect/io/Cause'
|
|
2
2
|
import * as Effect from '@effect/io/Effect'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Either } from '@fp-ts/data/Either'
|
|
2
|
+
import type { Either } from '@fp-ts/data/Either'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Cause } from '@effect/io/Cause'
|
|
1
|
+
import type { Cause } from '@effect/io/Cause'
|
|
2
2
|
import * as Effect from '@effect/io/Effect'
|
|
3
|
-
import { Either } from '@fp-ts/data/Either'
|
|
3
|
+
import type { Either } from '@fp-ts/data/Either'
|
|
4
4
|
import { flow } from '@fp-ts/data/Function'
|
|
5
5
|
|
|
6
|
-
import { Fx } from '../Fx.js'
|
|
6
|
+
import type { Fx } from '../Fx.js'
|
|
7
7
|
|
|
8
8
|
import { fromEffect } from './fromEffect.js'
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Cause } from '@effect/io/Cause'
|
|
1
|
+
import type { Cause } from '@effect/io/Cause'
|
|
2
2
|
import * as Deferred from '@effect/io/Deferred'
|
|
3
3
|
import * as Effect from '@effect/io/Effect'
|
|
4
4
|
import * as Exit from '@effect/io/Exit'
|
|
5
5
|
import * as Fiber from '@effect/io/Fiber'
|
|
6
|
-
import * as Runtime from '@effect/io/Runtime'
|
|
7
|
-
import { Scope } from '@effect/io/Scope'
|
|
6
|
+
import type * as Runtime from '@effect/io/Runtime'
|
|
7
|
+
import type { Scope } from '@effect/io/Scope'
|
|
8
8
|
import { pipe } from '@fp-ts/data/Function'
|
|
9
9
|
|
|
10
10
|
import { Fx } from '../Fx.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Fiber } from '@effect/io/Fiber'
|
|
2
|
+
import type { Fiber } from '@effect/io/Fiber'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Fiber } from '@effect/io/Fiber'
|
|
2
|
+
import type { Fiber } from '@effect/io/Fiber'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
2
|
import { flow } from '@fp-ts/data/Function'
|
|
3
|
-
import { Option } from '@fp-ts/data/Option'
|
|
3
|
+
import type { Option } from '@fp-ts/data/Option'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
package/src/constructor/gen.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
2
|
import * as Schedule from '@effect/io/Schedule'
|
|
3
|
-
import { Duration } from '@fp-ts/data/Duration'
|
|
3
|
+
import type { Duration } from '@fp-ts/data/Duration'
|
|
4
4
|
import { pipe } from '@fp-ts/data/Function'
|
|
5
5
|
|
|
6
|
-
import { Fx } from '../Fx.js'
|
|
6
|
+
import type { Fx } from '../Fx.js'
|
|
7
7
|
|
|
8
8
|
import { scheduled } from './scheduled.js'
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Random } from '@effect/io/Random'
|
|
2
|
+
import type { Random } from '@effect/io/Random'
|
|
3
3
|
import { pipe } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Tag } from '@fp-ts/data/Context'
|
|
2
|
+
import type { Tag } from '@fp-ts/data/Context'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Tag } from '@fp-ts/data/Context'
|
|
2
|
+
import type { Tag } from '@fp-ts/data/Context'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from '@effect/io/Effect'
|
|
2
|
-
import { Tag } from '@fp-ts/data/Context'
|
|
2
|
+
import type { Tag } from '@fp-ts/data/Context'
|
|
3
3
|
import { flow } from '@fp-ts/data/Function'
|
|
4
4
|
|
|
5
|
-
import { Fx } from '../Fx.js'
|
|
5
|
+
import type { Fx } from '../Fx.js'
|
|
6
6
|
|
|
7
7
|
import { fromEffect } from './fromEffect.js'
|
|
8
8
|
|
package/src/constructor/sync.ts
CHANGED
package/src/operator/as.ts
CHANGED