@typed/fx 2.0.0-beta.4 → 2.0.0-beta.6
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/README.md +34 -20
- package/dist/Fx/Fx.d.ts +362 -10
- package/dist/Fx/Fx.d.ts.map +1 -1
- package/dist/Fx/Fx.js +32 -1
- package/dist/Fx/TypeId.d.ts +49 -3
- package/dist/Fx/TypeId.d.ts.map +1 -1
- package/dist/Fx/TypeId.js +39 -2
- package/dist/Fx/combinators/additive.d.ts +156 -5
- package/dist/Fx/combinators/additive.d.ts.map +1 -1
- package/dist/Fx/combinators/additive.js +156 -5
- package/dist/Fx/combinators/catch.d.ts +195 -22
- package/dist/Fx/combinators/catch.d.ts.map +1 -1
- package/dist/Fx/combinators/catch.js +186 -16
- package/dist/Fx/combinators/causes.d.ts +24 -1
- package/dist/Fx/combinators/causes.d.ts.map +1 -1
- package/dist/Fx/combinators/causes.js +24 -1
- package/dist/Fx/combinators/changesWithEffect.d.ts +20 -0
- package/dist/Fx/combinators/changesWithEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/changesWithEffect.js +20 -0
- package/dist/Fx/combinators/compact.d.ts +17 -0
- package/dist/Fx/combinators/compact.d.ts.map +1 -1
- package/dist/Fx/combinators/compact.js +17 -0
- package/dist/Fx/combinators/concatMap.d.ts +86 -0
- package/dist/Fx/combinators/concatMap.d.ts.map +1 -0
- package/dist/Fx/combinators/concatMap.js +86 -0
- package/dist/Fx/combinators/continueWith.d.ts +109 -1
- package/dist/Fx/combinators/continueWith.d.ts.map +1 -1
- package/dist/Fx/combinators/continueWith.js +109 -1
- package/dist/Fx/combinators/debounce.d.ts +34 -0
- package/dist/Fx/combinators/debounce.d.ts.map +1 -0
- package/dist/Fx/combinators/debounce.js +35 -0
- package/dist/Fx/combinators/delay.d.ts +34 -0
- package/dist/Fx/combinators/delay.d.ts.map +1 -0
- package/dist/Fx/combinators/delay.js +31 -0
- package/dist/Fx/combinators/dropUntil.d.ts +42 -0
- package/dist/Fx/combinators/dropUntil.d.ts.map +1 -1
- package/dist/Fx/combinators/dropUntil.js +42 -0
- package/dist/Fx/combinators/during.d.ts +38 -0
- package/dist/Fx/combinators/during.d.ts.map +1 -0
- package/dist/Fx/combinators/during.js +85 -0
- package/dist/Fx/combinators/ensuring.d.ts +33 -3
- package/dist/Fx/combinators/ensuring.d.ts.map +1 -1
- package/dist/Fx/combinators/ensuring.js +33 -3
- package/dist/Fx/combinators/exhaustLatestMap.d.ts +40 -4
- package/dist/Fx/combinators/exhaustLatestMap.d.ts.map +1 -1
- package/dist/Fx/combinators/exhaustLatestMap.js +40 -4
- package/dist/Fx/combinators/exhaustLatestMapEffect.d.ts +39 -3
- package/dist/Fx/combinators/exhaustLatestMapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/exhaustLatestMapEffect.js +39 -3
- package/dist/Fx/combinators/exhaustMap.d.ts +37 -0
- package/dist/Fx/combinators/exhaustMap.d.ts.map +1 -1
- package/dist/Fx/combinators/exhaustMap.js +37 -0
- package/dist/Fx/combinators/exhaustMapEffect.d.ts +32 -0
- package/dist/Fx/combinators/exhaustMapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/exhaustMapEffect.js +32 -0
- package/dist/Fx/combinators/exit.d.ts +22 -1
- package/dist/Fx/combinators/exit.d.ts.map +1 -1
- package/dist/Fx/combinators/exit.js +22 -1
- package/dist/Fx/combinators/filter.d.ts +16 -0
- package/dist/Fx/combinators/filter.d.ts.map +1 -1
- package/dist/Fx/combinators/filter.js +16 -0
- package/dist/Fx/combinators/filterEffect.d.ts +21 -0
- package/dist/Fx/combinators/filterEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/filterEffect.js +21 -0
- package/dist/Fx/combinators/filterMap.d.ts +19 -0
- package/dist/Fx/combinators/filterMap.d.ts.map +1 -1
- package/dist/Fx/combinators/filterMap.js +19 -0
- package/dist/Fx/combinators/filterMapEffect.d.ts +20 -0
- package/dist/Fx/combinators/filterMapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/filterMapEffect.js +20 -0
- package/dist/Fx/combinators/filterMapLoop.d.ts +19 -0
- package/dist/Fx/combinators/filterMapLoop.d.ts.map +1 -1
- package/dist/Fx/combinators/filterMapLoop.js +19 -0
- package/dist/Fx/combinators/filterMapLoopCause.d.ts +20 -0
- package/dist/Fx/combinators/filterMapLoopCause.d.ts.map +1 -1
- package/dist/Fx/combinators/filterMapLoopCause.js +20 -0
- package/dist/Fx/combinators/filterMapLoopCauseEffect.d.ts +20 -0
- package/dist/Fx/combinators/filterMapLoopCauseEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/filterMapLoopCauseEffect.js +20 -0
- package/dist/Fx/combinators/filterMapLoopEffect.d.ts +20 -0
- package/dist/Fx/combinators/filterMapLoopEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/filterMapLoopEffect.js +20 -0
- package/dist/Fx/combinators/flatMap.d.ts +48 -3
- package/dist/Fx/combinators/flatMap.d.ts.map +1 -1
- package/dist/Fx/combinators/flatMap.js +35 -2
- package/dist/Fx/combinators/flatMapConcurrently.d.ts +50 -3
- package/dist/Fx/combinators/flatMapConcurrently.d.ts.map +1 -1
- package/dist/Fx/combinators/flatMapConcurrently.js +47 -1
- package/dist/Fx/combinators/flatMapConcurrentlyEffect.d.ts +47 -3
- package/dist/Fx/combinators/flatMapConcurrentlyEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/flatMapConcurrentlyEffect.js +39 -1
- package/dist/Fx/combinators/flatMapEffect.d.ts +44 -2
- package/dist/Fx/combinators/flatMapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/flatMapEffect.js +31 -1
- package/dist/Fx/combinators/flip.d.ts +33 -1
- package/dist/Fx/combinators/flip.d.ts.map +1 -1
- package/dist/Fx/combinators/flip.js +33 -1
- package/dist/Fx/combinators/gen.d.ts +28 -9
- package/dist/Fx/combinators/gen.d.ts.map +1 -1
- package/dist/Fx/combinators/gen.js +27 -3
- package/dist/Fx/combinators/genScoped.d.ts +32 -9
- package/dist/Fx/combinators/genScoped.d.ts.map +1 -1
- package/dist/Fx/combinators/genScoped.js +30 -2
- package/dist/Fx/combinators/grouped.d.ts +89 -0
- package/dist/Fx/combinators/grouped.d.ts.map +1 -0
- package/dist/Fx/combinators/grouped.js +146 -0
- package/dist/Fx/combinators/index.d.ts +35 -0
- package/dist/Fx/combinators/index.d.ts.map +1 -1
- package/dist/Fx/combinators/index.js +35 -0
- package/dist/Fx/combinators/keyed.d.ts +121 -7
- package/dist/Fx/combinators/keyed.d.ts.map +1 -1
- package/dist/Fx/combinators/keyed.js +64 -6
- package/dist/Fx/combinators/loop.d.ts +16 -0
- package/dist/Fx/combinators/loop.d.ts.map +1 -1
- package/dist/Fx/combinators/loop.js +16 -0
- package/dist/Fx/combinators/loopCause.d.ts +17 -0
- package/dist/Fx/combinators/loopCause.d.ts.map +1 -1
- package/dist/Fx/combinators/loopCause.js +17 -0
- package/dist/Fx/combinators/loopCauseEffect.d.ts +18 -0
- package/dist/Fx/combinators/loopCauseEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/loopCauseEffect.js +18 -0
- package/dist/Fx/combinators/loopEffect.d.ts +23 -0
- package/dist/Fx/combinators/loopEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/loopEffect.js +23 -0
- package/dist/Fx/combinators/map.d.ts +45 -0
- package/dist/Fx/combinators/map.d.ts.map +1 -1
- package/dist/Fx/combinators/map.js +42 -0
- package/dist/Fx/combinators/mapBoth.d.ts +19 -0
- package/dist/Fx/combinators/mapBoth.d.ts.map +1 -1
- package/dist/Fx/combinators/mapBoth.js +19 -0
- package/dist/Fx/combinators/mapEffect.d.ts +24 -0
- package/dist/Fx/combinators/mapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/mapEffect.js +24 -0
- package/dist/Fx/combinators/mapError.d.ts +20 -4
- package/dist/Fx/combinators/mapError.d.ts.map +1 -1
- package/dist/Fx/combinators/mapError.js +20 -4
- package/dist/Fx/combinators/mergeAll.d.ts +34 -0
- package/dist/Fx/combinators/mergeAll.d.ts.map +1 -1
- package/dist/Fx/combinators/mergeAll.js +34 -0
- package/dist/Fx/combinators/mergeOrdered.d.ts +35 -3
- package/dist/Fx/combinators/mergeOrdered.d.ts.map +1 -1
- package/dist/Fx/combinators/mergeOrdered.js +35 -3
- package/dist/Fx/combinators/onError.d.ts +33 -3
- package/dist/Fx/combinators/onError.d.ts.map +1 -1
- package/dist/Fx/combinators/onError.js +33 -3
- package/dist/Fx/combinators/onExit.d.ts +28 -2
- package/dist/Fx/combinators/onExit.d.ts.map +1 -1
- package/dist/Fx/combinators/onExit.js +28 -2
- package/dist/Fx/combinators/onInterrupt.d.ts +48 -3
- package/dist/Fx/combinators/onInterrupt.d.ts.map +1 -1
- package/dist/Fx/combinators/onInterrupt.js +48 -3
- package/dist/Fx/combinators/pairwise.d.ts +28 -0
- package/dist/Fx/combinators/pairwise.d.ts.map +1 -0
- package/dist/Fx/combinators/pairwise.js +31 -0
- package/dist/Fx/combinators/provide.d.ts +130 -9
- package/dist/Fx/combinators/provide.d.ts.map +1 -1
- package/dist/Fx/combinators/provide.js +130 -9
- package/dist/Fx/combinators/race.d.ts +92 -0
- package/dist/Fx/combinators/race.d.ts.map +1 -0
- package/dist/Fx/combinators/race.js +149 -0
- package/dist/Fx/combinators/repeat.d.ts +41 -0
- package/dist/Fx/combinators/repeat.d.ts.map +1 -0
- package/dist/Fx/combinators/repeat.js +57 -0
- package/dist/Fx/combinators/result.d.ts +22 -0
- package/dist/Fx/combinators/result.d.ts.map +1 -1
- package/dist/Fx/combinators/result.js +26 -12
- package/dist/Fx/combinators/retry.d.ts +53 -0
- package/dist/Fx/combinators/retry.d.ts.map +1 -0
- package/dist/Fx/combinators/retry.js +71 -0
- package/dist/Fx/combinators/sample.d.ts +31 -0
- package/dist/Fx/combinators/sample.d.ts.map +1 -0
- package/dist/Fx/combinators/sample.js +42 -0
- package/dist/Fx/combinators/scan.d.ts +39 -0
- package/dist/Fx/combinators/scan.d.ts.map +1 -1
- package/dist/Fx/combinators/scan.js +39 -0
- package/dist/Fx/combinators/since.d.ts +30 -0
- package/dist/Fx/combinators/since.d.ts.map +1 -0
- package/dist/Fx/combinators/since.js +39 -0
- package/dist/Fx/combinators/skip.d.ts +31 -0
- package/dist/Fx/combinators/skip.d.ts.map +1 -1
- package/dist/Fx/combinators/skip.js +31 -0
- package/dist/Fx/combinators/skipRepeats.d.ts +16 -0
- package/dist/Fx/combinators/skipRepeats.d.ts.map +1 -1
- package/dist/Fx/combinators/skipRepeats.js +16 -0
- package/dist/Fx/combinators/skipRepeatsWith.d.ts +17 -0
- package/dist/Fx/combinators/skipRepeatsWith.d.ts.map +1 -1
- package/dist/Fx/combinators/skipRepeatsWith.js +17 -0
- package/dist/Fx/combinators/skipWhile.d.ts +68 -0
- package/dist/Fx/combinators/skipWhile.d.ts.map +1 -1
- package/dist/Fx/combinators/skipWhile.js +68 -0
- package/dist/Fx/combinators/slice.d.ts +82 -0
- package/dist/Fx/combinators/slice.d.ts.map +1 -1
- package/dist/Fx/combinators/slice.js +33 -0
- package/dist/Fx/combinators/switchMap.d.ts +38 -0
- package/dist/Fx/combinators/switchMap.d.ts.map +1 -1
- package/dist/Fx/combinators/switchMap.js +38 -0
- package/dist/Fx/combinators/switchMapEffect.d.ts +37 -0
- package/dist/Fx/combinators/switchMapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/switchMapEffect.js +37 -0
- package/dist/Fx/combinators/take.d.ts +32 -0
- package/dist/Fx/combinators/take.d.ts.map +1 -1
- package/dist/Fx/combinators/take.js +32 -0
- package/dist/Fx/combinators/takeUntil.d.ts +46 -0
- package/dist/Fx/combinators/takeUntil.d.ts.map +1 -1
- package/dist/Fx/combinators/takeUntil.js +46 -0
- package/dist/Fx/combinators/takeWhile.d.ts +31 -0
- package/dist/Fx/combinators/takeWhile.d.ts.map +1 -1
- package/dist/Fx/combinators/takeWhile.js +31 -0
- package/dist/Fx/combinators/tapEffect.d.ts +16 -0
- package/dist/Fx/combinators/tapEffect.d.ts.map +1 -1
- package/dist/Fx/combinators/tapEffect.js +16 -0
- package/dist/Fx/combinators/throttle.d.ts +79 -0
- package/dist/Fx/combinators/throttle.d.ts.map +1 -0
- package/dist/Fx/combinators/throttle.js +99 -0
- package/dist/Fx/combinators/timeout.d.ts +76 -0
- package/dist/Fx/combinators/timeout.d.ts.map +1 -0
- package/dist/Fx/combinators/timeout.js +110 -0
- package/dist/Fx/combinators/tuple.d.ts +30 -0
- package/dist/Fx/combinators/tuple.d.ts.map +1 -1
- package/dist/Fx/combinators/tuple.js +34 -3
- package/dist/Fx/combinators/until.d.ts +27 -0
- package/dist/Fx/combinators/until.d.ts.map +1 -0
- package/dist/Fx/combinators/until.js +56 -0
- package/dist/Fx/combinators/unwrap.d.ts +29 -0
- package/dist/Fx/combinators/unwrap.d.ts.map +1 -1
- package/dist/Fx/combinators/unwrap.js +29 -0
- package/dist/Fx/combinators/unwrapScoped.d.ts +33 -0
- package/dist/Fx/combinators/unwrapScoped.d.ts.map +1 -1
- package/dist/Fx/combinators/unwrapScoped.js +33 -0
- package/dist/Fx/combinators/when.d.ts +35 -0
- package/dist/Fx/combinators/when.d.ts.map +1 -1
- package/dist/Fx/combinators/when.js +36 -1
- package/dist/Fx/combinators/withLatestFrom.d.ts +58 -0
- package/dist/Fx/combinators/withLatestFrom.d.ts.map +1 -0
- package/dist/Fx/combinators/withLatestFrom.js +68 -0
- package/dist/Fx/combinators/withSpan.d.ts +35 -1
- package/dist/Fx/combinators/withSpan.d.ts.map +1 -1
- package/dist/Fx/combinators/withSpan.js +34 -3
- package/dist/Fx/combinators/zip.d.ts +60 -0
- package/dist/Fx/combinators/zip.d.ts.map +1 -1
- package/dist/Fx/combinators/zip.js +60 -0
- package/dist/Fx/constructors/at.d.ts +20 -0
- package/dist/Fx/constructors/at.d.ts.map +1 -1
- package/dist/Fx/constructors/at.js +20 -0
- package/dist/Fx/constructors/die.d.ts +21 -0
- package/dist/Fx/constructors/die.d.ts.map +1 -1
- package/dist/Fx/constructors/die.js +21 -0
- package/dist/Fx/constructors/empty.d.ts +18 -0
- package/dist/Fx/constructors/empty.d.ts.map +1 -1
- package/dist/Fx/constructors/empty.js +18 -0
- package/dist/Fx/constructors/fail.d.ts +21 -0
- package/dist/Fx/constructors/fail.d.ts.map +1 -1
- package/dist/Fx/constructors/fail.js +21 -0
- package/dist/Fx/constructors/failCause.d.ts +22 -0
- package/dist/Fx/constructors/failCause.d.ts.map +1 -1
- package/dist/Fx/constructors/failCause.js +22 -0
- package/dist/Fx/constructors/fn.d.ts +113 -13
- package/dist/Fx/constructors/fn.d.ts.map +1 -1
- package/dist/Fx/constructors/fn.js +36 -0
- package/dist/Fx/constructors/fromEffect.d.ts +43 -1
- package/dist/Fx/constructors/fromEffect.d.ts.map +1 -1
- package/dist/Fx/constructors/fromEffect.js +43 -1
- package/dist/Fx/constructors/fromFailures.d.ts +24 -0
- package/dist/Fx/constructors/fromFailures.d.ts.map +1 -1
- package/dist/Fx/constructors/fromFailures.js +24 -0
- package/dist/Fx/constructors/fromIterable.d.ts +22 -0
- package/dist/Fx/constructors/fromIterable.d.ts.map +1 -1
- package/dist/Fx/constructors/fromIterable.js +22 -0
- package/dist/Fx/constructors/fromSchedule.d.ts +23 -0
- package/dist/Fx/constructors/fromSchedule.d.ts.map +1 -1
- package/dist/Fx/constructors/fromSchedule.js +25 -2
- package/dist/Fx/constructors/index.d.ts +2 -1
- package/dist/Fx/constructors/index.d.ts.map +1 -1
- package/dist/Fx/constructors/index.js +2 -1
- package/dist/Fx/constructors/interrupt.d.ts +21 -1
- package/dist/Fx/constructors/interrupt.d.ts.map +1 -1
- package/dist/Fx/constructors/interrupt.js +21 -1
- package/dist/Fx/constructors/make.d.ts +146 -1
- package/dist/Fx/constructors/make.d.ts.map +1 -1
- package/dist/Fx/constructors/make.js +54 -3
- package/dist/Fx/constructors/periodic.d.ts +29 -0
- package/dist/Fx/constructors/periodic.d.ts.map +1 -1
- package/dist/Fx/constructors/periodic.js +29 -0
- package/dist/Fx/constructors/succeed.d.ts +75 -3
- package/dist/Fx/constructors/succeed.d.ts.map +1 -1
- package/dist/Fx/constructors/succeed.js +75 -3
- package/dist/Fx/constructors/suspend.d.ts +28 -0
- package/dist/Fx/constructors/suspend.d.ts.map +1 -1
- package/dist/Fx/constructors/suspend.js +28 -0
- package/dist/Fx/constructors/sync.d.ts +32 -0
- package/dist/Fx/constructors/sync.d.ts.map +1 -0
- package/dist/Fx/constructors/sync.js +32 -0
- package/dist/Fx/internal/DeferredRef.d.ts +259 -7
- package/dist/Fx/internal/DeferredRef.d.ts.map +1 -1
- package/dist/Fx/internal/DeferredRef.js +260 -9
- package/dist/Fx/internal/UnionToTuple.d.ts +22 -0
- package/dist/Fx/internal/UnionToTuple.d.ts.map +1 -1
- package/dist/Fx/internal/diff.d.ts +586 -0
- package/dist/Fx/internal/diff.d.ts.map +1 -1
- package/dist/Fx/internal/diff.js +120 -9
- package/dist/Fx/internal/effectableEvaluateKey.d.ts +30 -0
- package/dist/Fx/internal/effectableEvaluateKey.d.ts.map +1 -0
- package/dist/Fx/internal/effectableEvaluateKey.js +29 -0
- package/dist/Fx/internal/effectableWithOverride.d.ts +55 -0
- package/dist/Fx/internal/effectableWithOverride.d.ts.map +1 -0
- package/dist/Fx/internal/effectableWithOverride.js +46 -0
- package/dist/Fx/internal/equivalence.d.ts +29 -0
- package/dist/Fx/internal/equivalence.d.ts.map +1 -1
- package/dist/Fx/internal/equivalence.js +29 -0
- package/dist/Fx/internal/multicast.d.ts +145 -2
- package/dist/Fx/internal/multicast.d.ts.map +1 -1
- package/dist/Fx/internal/multicast.js +146 -4
- package/dist/Fx/internal/ring-buffer.d.ts +149 -0
- package/dist/Fx/internal/ring-buffer.d.ts.map +1 -1
- package/dist/Fx/internal/ring-buffer.js +155 -0
- package/dist/Fx/internal/scope.d.ts +184 -0
- package/dist/Fx/internal/scope.d.ts.map +1 -1
- package/dist/Fx/internal/scope.js +150 -0
- package/dist/Fx/internal/yieldable.d.ts +117 -2
- package/dist/Fx/internal/yieldable.d.ts.map +1 -1
- package/dist/Fx/internal/yieldable.js +86 -3
- package/dist/Fx/run/collect.d.ts +89 -0
- package/dist/Fx/run/collect.d.ts.map +1 -1
- package/dist/Fx/run/collect.js +90 -1
- package/dist/Fx/run/first.d.ts +22 -0
- package/dist/Fx/run/first.d.ts.map +1 -1
- package/dist/Fx/run/first.js +22 -0
- package/dist/Fx/run/fork.d.ts +50 -0
- package/dist/Fx/run/fork.d.ts.map +1 -1
- package/dist/Fx/run/fork.js +50 -0
- package/dist/Fx/run/observe.d.ts +106 -0
- package/dist/Fx/run/observe.d.ts.map +1 -1
- package/dist/Fx/run/observe.js +106 -0
- package/dist/Fx/run/runPromise.d.ts +43 -0
- package/dist/Fx/run/runPromise.d.ts.map +1 -1
- package/dist/Fx/run/runPromise.js +43 -0
- package/dist/Fx/stream.d.ts +92 -0
- package/dist/Fx/stream.d.ts.map +1 -1
- package/dist/Fx/stream.js +60 -1
- package/dist/Push/Push.d.ts +1216 -91
- package/dist/Push/Push.d.ts.map +1 -1
- package/dist/Push/Push.js +1012 -83
- package/dist/RefArray.d.ts +2 -0
- package/dist/RefArray.d.ts.map +1 -0
- package/dist/RefArray.js +1 -0
- package/dist/RefBigDecimal.d.ts +2 -0
- package/dist/RefBigDecimal.d.ts.map +1 -0
- package/dist/RefBigDecimal.js +1 -0
- package/dist/RefBigInt.d.ts +2 -0
- package/dist/RefBigInt.d.ts.map +1 -0
- package/dist/RefBigInt.js +1 -0
- package/dist/RefBoolean.d.ts +2 -0
- package/dist/RefBoolean.d.ts.map +1 -0
- package/dist/RefBoolean.js +1 -0
- package/dist/RefCause.d.ts +2 -0
- package/dist/RefCause.d.ts.map +1 -0
- package/dist/RefCause.js +1 -0
- package/dist/RefChunk.d.ts +2 -0
- package/dist/RefChunk.d.ts.map +1 -0
- package/dist/RefChunk.js +1 -0
- package/dist/RefDateTime.d.ts +2 -0
- package/dist/RefDateTime.d.ts.map +1 -0
- package/dist/RefDateTime.js +1 -0
- package/dist/RefDuration.d.ts +2 -0
- package/dist/RefDuration.d.ts.map +1 -0
- package/dist/RefDuration.js +1 -0
- package/dist/RefGraph.d.ts +2 -0
- package/dist/RefGraph.d.ts.map +1 -0
- package/dist/RefGraph.js +1 -0
- package/dist/RefHashMap.d.ts +2 -0
- package/dist/RefHashMap.d.ts.map +1 -0
- package/dist/RefHashMap.js +1 -0
- package/dist/RefHashRing.d.ts +2 -0
- package/dist/RefHashRing.d.ts.map +1 -0
- package/dist/RefHashRing.js +1 -0
- package/dist/RefHashSet.d.ts +2 -0
- package/dist/RefHashSet.d.ts.map +1 -0
- package/dist/RefHashSet.js +1 -0
- package/dist/RefIterable.d.ts +2 -0
- package/dist/RefIterable.d.ts.map +1 -0
- package/dist/RefIterable.js +1 -0
- package/dist/RefOption.d.ts +2 -0
- package/dist/RefOption.d.ts.map +1 -0
- package/dist/RefOption.js +1 -0
- package/dist/RefRecord.d.ts +2 -0
- package/dist/RefRecord.d.ts.map +1 -0
- package/dist/RefRecord.js +1 -0
- package/dist/RefResult.d.ts +2 -0
- package/dist/RefResult.d.ts.map +1 -0
- package/dist/RefResult.js +1 -0
- package/dist/RefString.d.ts +2 -0
- package/dist/RefString.d.ts.map +1 -0
- package/dist/RefString.js +1 -0
- package/dist/RefStruct.d.ts +2 -0
- package/dist/RefStruct.d.ts.map +1 -0
- package/dist/RefStruct.js +1 -0
- package/dist/RefSubject/Hydration.d.ts +504 -0
- package/dist/RefSubject/Hydration.d.ts.map +1 -0
- package/dist/RefSubject/Hydration.js +300 -0
- package/dist/RefSubject/RefArray.d.ts +351 -4
- package/dist/RefSubject/RefArray.d.ts.map +1 -1
- package/dist/RefSubject/RefArray.js +339 -3
- package/dist/RefSubject/RefBigDecimal.d.ts +221 -1
- package/dist/RefSubject/RefBigDecimal.d.ts.map +1 -1
- package/dist/RefSubject/RefBigDecimal.js +210 -1
- package/dist/RefSubject/RefBigInt.d.ts +166 -1
- package/dist/RefSubject/RefBigInt.d.ts.map +1 -1
- package/dist/RefSubject/RefBigInt.js +155 -1
- package/dist/RefSubject/RefBoolean.d.ts +166 -1
- package/dist/RefSubject/RefBoolean.d.ts.map +1 -1
- package/dist/RefSubject/RefBoolean.js +155 -1
- package/dist/RefSubject/RefCause.d.ts +122 -1
- package/dist/RefSubject/RefCause.d.ts.map +1 -1
- package/dist/RefSubject/RefCause.js +111 -1
- package/dist/RefSubject/RefChunk.d.ts +406 -1
- package/dist/RefSubject/RefChunk.d.ts.map +1 -1
- package/dist/RefSubject/RefChunk.js +394 -0
- package/dist/RefSubject/RefDateTime.d.ts +122 -1
- package/dist/RefSubject/RefDateTime.d.ts.map +1 -1
- package/dist/RefSubject/RefDateTime.js +111 -1
- package/dist/RefSubject/RefDuration.d.ts +155 -1
- package/dist/RefSubject/RefDuration.d.ts.map +1 -1
- package/dist/RefSubject/RefDuration.js +144 -1
- package/dist/RefSubject/RefGraph.d.ts +320 -6
- package/dist/RefSubject/RefGraph.d.ts.map +1 -1
- package/dist/RefSubject/RefGraph.js +303 -0
- package/dist/RefSubject/RefHashMap.d.ts +296 -1
- package/dist/RefSubject/RefHashMap.d.ts.map +1 -1
- package/dist/RefSubject/RefHashMap.js +284 -0
- package/dist/RefSubject/RefHashRing.d.ts +146 -2
- package/dist/RefSubject/RefHashRing.d.ts.map +1 -1
- package/dist/RefSubject/RefHashRing.js +133 -0
- package/dist/RefSubject/RefHashSet.d.ts +230 -1
- package/dist/RefSubject/RefHashSet.d.ts.map +1 -1
- package/dist/RefSubject/RefHashSet.js +218 -0
- package/dist/RefSubject/RefIterable.d.ts +327 -1
- package/dist/RefSubject/RefIterable.d.ts.map +1 -1
- package/dist/RefSubject/RefIterable.js +315 -0
- package/dist/RefSubject/RefOption.d.ts +144 -1
- package/dist/RefSubject/RefOption.d.ts.map +1 -1
- package/dist/RefSubject/RefOption.js +133 -1
- package/dist/RefSubject/RefRecord.d.ts +339 -1
- package/dist/RefSubject/RefRecord.d.ts.map +1 -1
- package/dist/RefSubject/RefRecord.js +327 -0
- package/dist/RefSubject/RefResult.d.ts +155 -23
- package/dist/RefSubject/RefResult.d.ts.map +1 -1
- package/dist/RefSubject/RefResult.js +122 -1
- package/dist/RefSubject/RefString.d.ts +188 -1
- package/dist/RefSubject/RefString.d.ts.map +1 -1
- package/dist/RefSubject/RefString.js +177 -1
- package/dist/RefSubject/RefStruct.d.ts +156 -1
- package/dist/RefSubject/RefStruct.d.ts.map +1 -1
- package/dist/RefSubject/RefStruct.js +145 -1
- package/dist/RefSubject/RefSubject.d.ts +1166 -13
- package/dist/RefSubject/RefSubject.d.ts.map +1 -1
- package/dist/RefSubject/RefSubject.js +843 -51
- package/dist/RefSubject/RefTrie.d.ts +290 -4
- package/dist/RefSubject/RefTrie.d.ts.map +1 -1
- package/dist/RefSubject/RefTrie.js +278 -3
- package/dist/RefSubject/RefTuple.d.ts +117 -1
- package/dist/RefSubject/RefTuple.d.ts.map +1 -1
- package/dist/RefSubject/RefTuple.js +106 -1
- package/dist/RefSubject/index.d.ts +1 -0
- package/dist/RefSubject/index.d.ts.map +1 -1
- package/dist/RefSubject/index.js +1 -0
- package/dist/RefSubject.d.ts +2 -1
- package/dist/RefSubject.d.ts.map +1 -1
- package/dist/RefSubject.js +2 -1
- package/dist/RefTrie.d.ts +2 -0
- package/dist/RefTrie.d.ts.map +1 -0
- package/dist/RefTrie.js +1 -0
- package/dist/RefTuple.d.ts +2 -0
- package/dist/RefTuple.d.ts.map +1 -0
- package/dist/RefTuple.js +1 -0
- package/dist/Sink/Sink.d.ts +381 -10
- package/dist/Sink/Sink.d.ts.map +1 -1
- package/dist/Sink/Sink.js +49 -2
- package/dist/Sink/combinators.d.ts +731 -2
- package/dist/Sink/combinators.d.ts.map +1 -1
- package/dist/Sink/combinators.js +706 -4
- package/dist/Subject/Subject.d.ts +1013 -19
- package/dist/Subject/Subject.d.ts.map +1 -1
- package/dist/Subject/Subject.js +901 -36
- package/dist/Versioned/Versioned.d.ts +424 -7
- package/dist/Versioned/Versioned.d.ts.map +1 -1
- package/dist/Versioned/Versioned.js +238 -12
- package/dist/index.d.ts +22 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -3
- package/package.json +123 -14
- package/dist/Fx/constructors/fromYieldable.d.ts +0 -12
- package/dist/Fx/constructors/fromYieldable.d.ts.map +0 -1
- package/dist/Fx/constructors/fromYieldable.js +0 -12
- package/src/Fx/Fx.ts +0 -164
- package/src/Fx/TypeId.ts +0 -25
- package/src/Fx/combinators/additive.ts +0 -142
- package/src/Fx/combinators/catch.ts +0 -416
- package/src/Fx/combinators/causes.ts +0 -23
- package/src/Fx/combinators/changesWithEffect.ts +0 -66
- package/src/Fx/combinators/compact.ts +0 -15
- package/src/Fx/combinators/continueWith.ts +0 -78
- package/src/Fx/combinators/dropUntil.ts +0 -47
- package/src/Fx/combinators/ensuring.ts +0 -23
- package/src/Fx/combinators/exhaustLatestMap.ts +0 -74
- package/src/Fx/combinators/exhaustLatestMapEffect.ts +0 -25
- package/src/Fx/combinators/exhaustMap.ts +0 -36
- package/src/Fx/combinators/exhaustMapEffect.ts +0 -23
- package/src/Fx/combinators/exit.ts +0 -15
- package/src/Fx/combinators/filter.ts +0 -22
- package/src/Fx/combinators/filterEffect.ts +0 -31
- package/src/Fx/combinators/filterMap.ts +0 -23
- package/src/Fx/combinators/filterMapEffect.ts +0 -32
- package/src/Fx/combinators/filterMapLoop.ts +0 -35
- package/src/Fx/combinators/filterMapLoopCause.ts +0 -36
- package/src/Fx/combinators/filterMapLoopCauseEffect.ts +0 -46
- package/src/Fx/combinators/filterMapLoopEffect.ts +0 -36
- package/src/Fx/combinators/flatMap.ts +0 -51
- package/src/Fx/combinators/flatMapConcurrently.ts +0 -39
- package/src/Fx/combinators/flatMapConcurrentlyEffect.ts +0 -26
- package/src/Fx/combinators/flatMapEffect.ts +0 -42
- package/src/Fx/combinators/flip.ts +0 -14
- package/src/Fx/combinators/gen.ts +0 -24
- package/src/Fx/combinators/genScoped.ts +0 -24
- package/src/Fx/combinators/index.ts +0 -61
- package/src/Fx/combinators/keyed.ts +0 -369
- package/src/Fx/combinators/loop.ts +0 -27
- package/src/Fx/combinators/loopCause.ts +0 -34
- package/src/Fx/combinators/loopCauseEffect.ts +0 -36
- package/src/Fx/combinators/loopEffect.ts +0 -34
- package/src/Fx/combinators/map.ts +0 -22
- package/src/Fx/combinators/mapBoth.ts +0 -40
- package/src/Fx/combinators/mapEffect.ts +0 -32
- package/src/Fx/combinators/mapError.ts +0 -28
- package/src/Fx/combinators/mergeAll.ts +0 -22
- package/src/Fx/combinators/mergeOrdered.ts +0 -123
- package/src/Fx/combinators/onError.ts +0 -40
- package/src/Fx/combinators/onExit.ts +0 -82
- package/src/Fx/combinators/onInterrupt.ts +0 -87
- package/src/Fx/combinators/provide.ts +0 -124
- package/src/Fx/combinators/result.ts +0 -39
- package/src/Fx/combinators/scan.ts +0 -82
- package/src/Fx/combinators/skip.ts +0 -41
- package/src/Fx/combinators/skipRepeats.ts +0 -15
- package/src/Fx/combinators/skipRepeatsWith.ts +0 -40
- package/src/Fx/combinators/skipWhile.ts +0 -100
- package/src/Fx/combinators/slice.ts +0 -55
- package/src/Fx/combinators/switchMap.ts +0 -55
- package/src/Fx/combinators/switchMapEffect.ts +0 -25
- package/src/Fx/combinators/take.ts +0 -38
- package/src/Fx/combinators/takeUntil.ts +0 -88
- package/src/Fx/combinators/takeWhile.ts +0 -47
- package/src/Fx/combinators/tapEffect.ts +0 -39
- package/src/Fx/combinators/tuple.ts +0 -79
- package/src/Fx/combinators/unwrap.ts +0 -21
- package/src/Fx/combinators/unwrapScoped.ts +0 -26
- package/src/Fx/combinators/when.ts +0 -64
- package/src/Fx/combinators/withSpan.ts +0 -24
- package/src/Fx/combinators/zip.ts +0 -175
- package/src/Fx/constructors/at.ts +0 -23
- package/src/Fx/constructors/die.ts +0 -17
- package/src/Fx/constructors/empty.ts +0 -10
- package/src/Fx/constructors/fail.ts +0 -14
- package/src/Fx/constructors/failCause.ts +0 -14
- package/src/Fx/constructors/fn.ts +0 -245
- package/src/Fx/constructors/fromEffect.ts +0 -24
- package/src/Fx/constructors/fromFailures.ts +0 -19
- package/src/Fx/constructors/fromIterable.ts +0 -15
- package/src/Fx/constructors/fromSchedule.ts +0 -18
- package/src/Fx/constructors/fromYieldable.ts +0 -17
- package/src/Fx/constructors/index.ts +0 -15
- package/src/Fx/constructors/interrupt.ts +0 -13
- package/src/Fx/constructors/make.ts +0 -103
- package/src/Fx/constructors/periodic.ts +0 -15
- package/src/Fx/constructors/succeed.ts +0 -37
- package/src/Fx/constructors/suspend.ts +0 -6
- package/src/Fx/index.ts +0 -6
- package/src/Fx/internal/DeferredRef.ts +0 -87
- package/src/Fx/internal/UnionToTuple.ts +0 -12
- package/src/Fx/internal/diff.ts +0 -191
- package/src/Fx/internal/equivalence.ts +0 -12
- package/src/Fx/internal/multicast.ts +0 -51
- package/src/Fx/internal/ring-buffer.ts +0 -60
- package/src/Fx/internal/scope.ts +0 -58
- package/src/Fx/internal/yieldable.ts +0 -31
- package/src/Fx/run/collect.ts +0 -79
- package/src/Fx/run/first.ts +0 -20
- package/src/Fx/run/fork.ts +0 -40
- package/src/Fx/run/index.ts +0 -5
- package/src/Fx/run/observe.ts +0 -114
- package/src/Fx/run/runPromise.ts +0 -32
- package/src/Fx/stream.ts +0 -42
- package/src/Fx.additive-combinators.test.ts +0 -126
- package/src/Fx.catch-additive.test.ts +0 -206
- package/src/Fx.catch.test.ts +0 -60
- package/src/Fx.dropUntil.test.ts +0 -61
- package/src/Fx.fn.test.ts +0 -51
- package/src/Fx.lifecycle.test.ts +0 -79
- package/src/Fx.mapError-mapBoth.test.ts +0 -101
- package/src/Fx.provide-combinators.test.ts +0 -94
- package/src/Fx.result-changesWithEffect.test.ts +0 -112
- package/src/Fx.scan.test.ts +0 -73
- package/src/Fx.takeWhile-skipWhile.test.ts +0 -84
- package/src/Fx.test.ts +0 -71
- package/src/Fx.ts +0 -1
- package/src/Fx.zip-merge-additive.test.ts +0 -171
- package/src/Fx.zip.test.ts +0 -133
- package/src/Push/Push.ts +0 -1093
- package/src/Push/index.ts +0 -1
- package/src/Push.additive.test.ts +0 -256
- package/src/Push.test.ts +0 -26
- package/src/Push.ts +0 -1
- package/src/RefSubject/RefArray.ts +0 -516
- package/src/RefSubject/RefBigDecimal.test.ts +0 -56
- package/src/RefSubject/RefBigDecimal.ts +0 -295
- package/src/RefSubject/RefBigInt.test.ts +0 -56
- package/src/RefSubject/RefBigInt.ts +0 -189
- package/src/RefSubject/RefBoolean.test.ts +0 -57
- package/src/RefSubject/RefBoolean.ts +0 -185
- package/src/RefSubject/RefCause.test.ts +0 -53
- package/src/RefSubject/RefCause.ts +0 -146
- package/src/RefSubject/RefChunk.ts +0 -516
- package/src/RefSubject/RefDateTime.test.ts +0 -43
- package/src/RefSubject/RefDateTime.ts +0 -261
- package/src/RefSubject/RefDuration.test.ts +0 -49
- package/src/RefSubject/RefDuration.ts +0 -188
- package/src/RefSubject/RefGraph.ts +0 -649
- package/src/RefSubject/RefHashMap.ts +0 -474
- package/src/RefSubject/RefHashRing.ts +0 -262
- package/src/RefSubject/RefHashSet.ts +0 -308
- package/src/RefSubject/RefIterable.ts +0 -454
- package/src/RefSubject/RefOption.test.ts +0 -67
- package/src/RefSubject/RefOption.ts +0 -193
- package/src/RefSubject/RefRecord.ts +0 -621
- package/src/RefSubject/RefResult.test.ts +0 -63
- package/src/RefSubject/RefResult.ts +0 -209
- package/src/RefSubject/RefString.test.ts +0 -61
- package/src/RefSubject/RefString.ts +0 -256
- package/src/RefSubject/RefStruct.test.ts +0 -60
- package/src/RefSubject/RefStruct.ts +0 -253
- package/src/RefSubject/RefSubject.ts +0 -2642
- package/src/RefSubject/RefTrie.ts +0 -365
- package/src/RefSubject/RefTuple.test.ts +0 -60
- package/src/RefSubject/RefTuple.ts +0 -231
- package/src/RefSubject/index.ts +0 -21
- package/src/RefSubject.additive-parity.test.ts +0 -101
- package/src/RefSubject.test.ts +0 -65
- package/src/RefSubject.ts +0 -1
- package/src/Sink/Sink.ts +0 -159
- package/src/Sink/combinators.ts +0 -1115
- package/src/Sink/index.ts +0 -2
- package/src/Sink.combinators.test.ts +0 -88
- package/src/Sink.reduce-collect-head-last.test.ts +0 -107
- package/src/Sink.ts +0 -1
- package/src/Subject/Subject.ts +0 -440
- package/src/Subject/index.ts +0 -1
- package/src/Subject.test.ts +0 -47
- package/src/Subject.ts +0 -1
- package/src/Versioned/Versioned.ts +0 -595
- package/src/Versioned/index.ts +0 -1
- package/src/Versioned.filterMap.test.ts +0 -91
- package/src/Versioned.test.ts +0 -23
- package/src/Versioned.ts +0 -1
- package/src/index.ts +0 -7
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
import type * as Scope from "effect/Scope";
|
|
4
|
+
import * as Stream from "effect/Stream";
|
|
5
|
+
import type * as Fx from "../Fx/index.js";
|
|
6
|
+
import { type RefSubject, type RefSubjectOptions } from "./RefSubject.js";
|
|
7
|
+
/**
|
|
8
|
+
* Runtime symbol exposing hydration metadata on a hydrated RefSubject.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* ## Why
|
|
12
|
+
*
|
|
13
|
+
* Provides the runtime key that exposes a hydrated ref's serialization and restoration metadata
|
|
14
|
+
* without changing its RefSubject prototype.
|
|
15
|
+
*
|
|
16
|
+
* ## Ownership and lifetime
|
|
17
|
+
*
|
|
18
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
19
|
+
* services and Scope requirements.
|
|
20
|
+
*
|
|
21
|
+
* @since 2.0.0
|
|
22
|
+
* @category combinators
|
|
23
|
+
*/
|
|
24
|
+
export declare const HydrationRefTypeId: unique symbol;
|
|
25
|
+
/**
|
|
26
|
+
* Describes the hydration ref type id type.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* ## Why
|
|
30
|
+
*
|
|
31
|
+
* Provides the runtime key that exposes a hydrated ref's serialization and restoration metadata
|
|
32
|
+
* without changing its RefSubject prototype.
|
|
33
|
+
*
|
|
34
|
+
* ## Ownership and lifetime
|
|
35
|
+
*
|
|
36
|
+
* HydrationRefTypeId is a contract and performs no acquisition. Implementations retain the errors,
|
|
37
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
38
|
+
*
|
|
39
|
+
* @since 2.0.0
|
|
40
|
+
* @category type-level
|
|
41
|
+
*/
|
|
42
|
+
export type HydrationRefTypeId = typeof HydrationRefTypeId;
|
|
43
|
+
/**
|
|
44
|
+
* Canonical data attribute for the versioned envelope of unnamed hydrated refs.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* ## Why
|
|
48
|
+
*
|
|
49
|
+
* Names the versioned envelope used when several unnamed hydrated values share one server-rendered
|
|
50
|
+
* attribute.
|
|
51
|
+
*
|
|
52
|
+
* ## Ownership and lifetime
|
|
53
|
+
*
|
|
54
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
55
|
+
* services and Scope requirements.
|
|
56
|
+
*
|
|
57
|
+
* @since 2.0.0
|
|
58
|
+
* @category combinators
|
|
59
|
+
*/
|
|
60
|
+
export declare const HYDRATION_ATTRIBUTE = "data-typed-refsubject";
|
|
61
|
+
/**
|
|
62
|
+
* Defines the hydration attribute state contract.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* ## Why
|
|
66
|
+
*
|
|
67
|
+
* Represents one exact name/value pair a server renderer can write without depending on a DOM
|
|
68
|
+
* implementation.
|
|
69
|
+
*
|
|
70
|
+
* ## Ownership and lifetime
|
|
71
|
+
*
|
|
72
|
+
* HydrationAttribute is a contract and performs no acquisition. Implementations retain the errors,
|
|
73
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
74
|
+
*
|
|
75
|
+
* @since 2.0.0
|
|
76
|
+
* @category models
|
|
77
|
+
*/
|
|
78
|
+
export interface HydrationAttribute {
|
|
79
|
+
/**
|
|
80
|
+
* Exact DOM attribute name for one serialized payload.
|
|
81
|
+
*
|
|
82
|
+
* @remarks
|
|
83
|
+
* ## Why
|
|
84
|
+
*
|
|
85
|
+
* Carries the exact attribute name used for a serialized value.
|
|
86
|
+
*
|
|
87
|
+
* ## Ownership and lifetime
|
|
88
|
+
*
|
|
89
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
90
|
+
* services and Scope requirements.
|
|
91
|
+
*
|
|
92
|
+
* @since 2.0.0
|
|
93
|
+
* @category combinators
|
|
94
|
+
*/
|
|
95
|
+
readonly name: string;
|
|
96
|
+
/**
|
|
97
|
+
* Schema-encoded payload written to the hydration attribute.
|
|
98
|
+
*
|
|
99
|
+
* @remarks
|
|
100
|
+
* ## Why
|
|
101
|
+
*
|
|
102
|
+
* Carries the already encoded attribute payload; encoding failures occur before this record is
|
|
103
|
+
* produced.
|
|
104
|
+
*
|
|
105
|
+
* ## Ownership and lifetime
|
|
106
|
+
*
|
|
107
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
108
|
+
* services and Scope requirements.
|
|
109
|
+
*
|
|
110
|
+
* @since 2.0.0
|
|
111
|
+
* @category combinators
|
|
112
|
+
*/
|
|
113
|
+
readonly value: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Defines the hydration element state contract.
|
|
117
|
+
*
|
|
118
|
+
* @remarks
|
|
119
|
+
* ## Why
|
|
120
|
+
*
|
|
121
|
+
* Defines the minimal standards-based attribute surface required to restore state, allowing DOM
|
|
122
|
+
* elements and compatible hosts to participate.
|
|
123
|
+
*
|
|
124
|
+
* ## Ownership and lifetime
|
|
125
|
+
*
|
|
126
|
+
* HydrationElement is a contract and performs no acquisition. Implementations retain the errors,
|
|
127
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
128
|
+
*
|
|
129
|
+
* @since 2.0.0
|
|
130
|
+
* @category models
|
|
131
|
+
*/
|
|
132
|
+
export interface HydrationElement {
|
|
133
|
+
/**
|
|
134
|
+
* Reads an encoded hydration attribute from the host.
|
|
135
|
+
*
|
|
136
|
+
* @remarks
|
|
137
|
+
* ## Why
|
|
138
|
+
*
|
|
139
|
+
* Reads the serialized payload from the host during client restoration.
|
|
140
|
+
*
|
|
141
|
+
* ## Ownership and lifetime
|
|
142
|
+
*
|
|
143
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
144
|
+
* services and Scope requirements.
|
|
145
|
+
*
|
|
146
|
+
* @since 2.0.0
|
|
147
|
+
* @category combinators
|
|
148
|
+
*/
|
|
149
|
+
getAttribute(name: string): string | null;
|
|
150
|
+
/**
|
|
151
|
+
* Writes an encoded hydration attribute to the host.
|
|
152
|
+
*
|
|
153
|
+
* @remarks
|
|
154
|
+
* ## Why
|
|
155
|
+
*
|
|
156
|
+
* Writes a server-produced hydration payload through the host's native attribute contract.
|
|
157
|
+
*
|
|
158
|
+
* ## Ownership and lifetime
|
|
159
|
+
*
|
|
160
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
161
|
+
* services and Scope requirements.
|
|
162
|
+
*
|
|
163
|
+
* @since 2.0.0
|
|
164
|
+
* @category combinators
|
|
165
|
+
*/
|
|
166
|
+
setAttribute(name: string, value: string): void;
|
|
167
|
+
/**
|
|
168
|
+
* Removes a consumed hydration attribute from the host.
|
|
169
|
+
*
|
|
170
|
+
* @remarks
|
|
171
|
+
* ## Why
|
|
172
|
+
*
|
|
173
|
+
* Removes consumed hydration data so it cannot be restored twice from stale markup.
|
|
174
|
+
*
|
|
175
|
+
* ## Ownership and lifetime
|
|
176
|
+
*
|
|
177
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
178
|
+
* services and Scope requirements.
|
|
179
|
+
*
|
|
180
|
+
* @since 2.0.0
|
|
181
|
+
* @category combinators
|
|
182
|
+
*/
|
|
183
|
+
removeAttribute(name: string): void;
|
|
184
|
+
}
|
|
185
|
+
interface HydrationMember {
|
|
186
|
+
readonly schema: Schema.Top;
|
|
187
|
+
readonly attributeName: string | undefined;
|
|
188
|
+
readonly ref: RefSubject<any, any, any>;
|
|
189
|
+
readonly server: Effect.Effect<void>;
|
|
190
|
+
readonly hydrate: (value: Effect.Effect<any, Schema.SchemaError>) => Effect.Effect<void>;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Defines the hydration ref state contract.
|
|
194
|
+
*
|
|
195
|
+
* @remarks
|
|
196
|
+
* ## Why
|
|
197
|
+
*
|
|
198
|
+
* Makes a state boundary callable with an attribute host while also exposing server serialization
|
|
199
|
+
* as ordinary typed Effects.
|
|
200
|
+
*
|
|
201
|
+
* ## Ownership and lifetime
|
|
202
|
+
*
|
|
203
|
+
* HydrationRef is a contract and performs no acquisition. Implementations retain the errors,
|
|
204
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
205
|
+
*
|
|
206
|
+
* @since 2.0.0
|
|
207
|
+
* @category models
|
|
208
|
+
*/
|
|
209
|
+
export interface HydrationRef<E = never, R = never> {
|
|
210
|
+
/**
|
|
211
|
+
* Restores every member from a DOM-compatible attribute host.
|
|
212
|
+
*
|
|
213
|
+
* @remarks
|
|
214
|
+
* ## Why
|
|
215
|
+
*
|
|
216
|
+
* Reads and removes encoded attributes, decodes them with each member's Schema, and completes the
|
|
217
|
+
* deferred client initializer before ordinary state observation resumes.
|
|
218
|
+
*
|
|
219
|
+
* ## Ownership and lifetime
|
|
220
|
+
*
|
|
221
|
+
* Running the Effect requires Scope for deferred restoration and member subscriptions. Missing
|
|
222
|
+
* attributes resume the original initializer; Schema failures and codec services remain on the
|
|
223
|
+
* member metadata rather than becoming DOM exceptions.
|
|
224
|
+
*
|
|
225
|
+
* @since 2.0.0
|
|
226
|
+
* @category type-level
|
|
227
|
+
*/
|
|
228
|
+
(element: HydrationElement): Effect.Effect<void, never, R | Scope.Scope>;
|
|
229
|
+
/**
|
|
230
|
+
* Exposes the members and Effects used for serialization and restoration.
|
|
231
|
+
*
|
|
232
|
+
* @remarks
|
|
233
|
+
* ## Why
|
|
234
|
+
*
|
|
235
|
+
* Keeps server serialization discoverable without changing the RefSubject prototype or requiring
|
|
236
|
+
* a renderer-specific wrapper.
|
|
237
|
+
*
|
|
238
|
+
* ## Ownership and lifetime
|
|
239
|
+
*
|
|
240
|
+
* The operation starts only when its Effect is run. Any subscription or deferred hydration work is
|
|
241
|
+
* finalized by the required Scope.
|
|
242
|
+
*
|
|
243
|
+
* @since 2.0.0
|
|
244
|
+
* @category combinators
|
|
245
|
+
*/
|
|
246
|
+
readonly [HydrationRefTypeId]: {
|
|
247
|
+
readonly members: ReadonlyArray<HydrationMember>;
|
|
248
|
+
readonly server: Effect.Effect<void>;
|
|
249
|
+
readonly toAttributes: Effect.Effect<ReadonlyArray<HydrationAttribute>, E, R>;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Defines the hydrated ref subject state contract.
|
|
254
|
+
*
|
|
255
|
+
* @remarks
|
|
256
|
+
* ## Why
|
|
257
|
+
*
|
|
258
|
+
* Combines writable renderer-independent state with its hydration boundary so restoration precedes
|
|
259
|
+
* ordinary pushed updates.
|
|
260
|
+
*
|
|
261
|
+
* ## Ownership and lifetime
|
|
262
|
+
*
|
|
263
|
+
* HydratedRefSubject is a contract and performs no acquisition. Implementations retain the errors,
|
|
264
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
265
|
+
*
|
|
266
|
+
* @since 2.0.0
|
|
267
|
+
* @category models
|
|
268
|
+
*/
|
|
269
|
+
export interface HydratedRefSubject<A, E = never, R = never, RH = R> extends RefSubject<A, E, R>, HydrationRef<E, RH> {
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Type utilities for writable RefSubjects that carry hydration metadata.
|
|
273
|
+
*
|
|
274
|
+
* @remarks
|
|
275
|
+
* ## Why
|
|
276
|
+
*
|
|
277
|
+
* Combines writable renderer-independent state with its hydration boundary so restoration precedes
|
|
278
|
+
* ordinary pushed updates.
|
|
279
|
+
*
|
|
280
|
+
* ## Ownership and lifetime
|
|
281
|
+
*
|
|
282
|
+
* The operation starts only when its Effect is run. Any subscription or deferred hydration work is
|
|
283
|
+
* finalized by the required Scope.
|
|
284
|
+
*
|
|
285
|
+
* @since 2.0.0
|
|
286
|
+
* @category combinators
|
|
287
|
+
*/
|
|
288
|
+
export declare namespace HydratedRefSubject {
|
|
289
|
+
/**
|
|
290
|
+
* Describes the any type.
|
|
291
|
+
*
|
|
292
|
+
* @remarks
|
|
293
|
+
* ## Why
|
|
294
|
+
*
|
|
295
|
+
* Provides an existential hydrated-ref type for heterogeneous collections such as hydrateAll.
|
|
296
|
+
*
|
|
297
|
+
* ## Ownership and lifetime
|
|
298
|
+
*
|
|
299
|
+
* Any is a contract and performs no acquisition. Implementations retain the errors, services,
|
|
300
|
+
* interruption, and Scope requirements expressed by its members.
|
|
301
|
+
*
|
|
302
|
+
* @since 2.0.0
|
|
303
|
+
* @category type-level
|
|
304
|
+
*/
|
|
305
|
+
type Any = HydratedRefSubject<any, any, any, any>;
|
|
306
|
+
/**
|
|
307
|
+
* Describes the hydration error type.
|
|
308
|
+
*
|
|
309
|
+
* @remarks
|
|
310
|
+
* ## Why
|
|
311
|
+
*
|
|
312
|
+
* Extracts the typed serialization failure shared by a HydrationRef composition.
|
|
313
|
+
*
|
|
314
|
+
* ## Ownership and lifetime
|
|
315
|
+
*
|
|
316
|
+
* HydrationError is a contract and performs no acquisition. Implementations retain the errors,
|
|
317
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
318
|
+
*
|
|
319
|
+
* @since 2.0.0
|
|
320
|
+
* @category type-level
|
|
321
|
+
*/
|
|
322
|
+
type HydrationError<T> = T extends HydrationRef<infer E, any> ? E : never;
|
|
323
|
+
/**
|
|
324
|
+
* Describes the hydration services type.
|
|
325
|
+
*
|
|
326
|
+
* @remarks
|
|
327
|
+
* ## Why
|
|
328
|
+
*
|
|
329
|
+
* Extracts codec services required to encode or decode a HydrationRef composition.
|
|
330
|
+
*
|
|
331
|
+
* ## Ownership and lifetime
|
|
332
|
+
*
|
|
333
|
+
* HydrationServices is a contract and performs no acquisition. Implementations retain the
|
|
334
|
+
* errors, services, interruption, and Scope requirements expressed by its members.
|
|
335
|
+
*
|
|
336
|
+
* @since 2.0.0
|
|
337
|
+
* @category type-level
|
|
338
|
+
*/
|
|
339
|
+
type HydrationServices<T> = T extends HydrationRef<any, infer R> ? R : never;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Tests whether a value carries callable hydration metadata.
|
|
343
|
+
*
|
|
344
|
+
* @remarks
|
|
345
|
+
* ## Why
|
|
346
|
+
*
|
|
347
|
+
* Detects hydration capability by its public TypeId instead of relying on a concrete class or
|
|
348
|
+
* renderer.
|
|
349
|
+
*
|
|
350
|
+
* ## Ownership and lifetime
|
|
351
|
+
*
|
|
352
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
353
|
+
* services and Scope requirements.
|
|
354
|
+
*
|
|
355
|
+
* @since 2.0.0
|
|
356
|
+
* @category guards
|
|
357
|
+
*/
|
|
358
|
+
export declare function isHydrationRef(value: unknown): value is HydrationRef<any, any>;
|
|
359
|
+
/**
|
|
360
|
+
* Defines the hydrate options state contract.
|
|
361
|
+
*
|
|
362
|
+
* @remarks
|
|
363
|
+
* ## Why
|
|
364
|
+
*
|
|
365
|
+
* Adds an optional stable attribute name to ordinary RefSubject initialization and equality
|
|
366
|
+
* options.
|
|
367
|
+
*
|
|
368
|
+
* ## Ownership and lifetime
|
|
369
|
+
*
|
|
370
|
+
* HydrateOptions is a contract and performs no acquisition. Implementations retain the errors,
|
|
371
|
+
* services, interruption, and Scope requirements expressed by its members.
|
|
372
|
+
*
|
|
373
|
+
* @since 2.0.0
|
|
374
|
+
* @category models
|
|
375
|
+
*/
|
|
376
|
+
export interface HydrateOptions<A> extends RefSubjectOptions<A> {
|
|
377
|
+
/**
|
|
378
|
+
* Optional stable name for a dedicated hydration attribute.
|
|
379
|
+
*
|
|
380
|
+
* @remarks
|
|
381
|
+
* ## Why
|
|
382
|
+
*
|
|
383
|
+
* Carries the exact attribute name used for a serialized value.
|
|
384
|
+
*
|
|
385
|
+
* ## Ownership and lifetime
|
|
386
|
+
*
|
|
387
|
+
* This declaration acquires no resources. Effects represented by the contract retain their own
|
|
388
|
+
* services and Scope requirements.
|
|
389
|
+
*
|
|
390
|
+
* @since 2.0.0
|
|
391
|
+
* @category combinators
|
|
392
|
+
*/
|
|
393
|
+
readonly name?: string;
|
|
394
|
+
}
|
|
395
|
+
type HydrationInput<A, E, R> = A | Effect.Effect<A, E, R> | Stream.Stream<A, E, R> | Fx.Fx<A, E, R>;
|
|
396
|
+
type HydrateEffect<S extends Schema.Top, E, R> = Effect.Effect<HydratedRefSubject<Schema.Schema.Type<S>, E | Schema.SchemaError, never, Schema.Codec.DecodingServices<S> | Schema.Codec.EncodingServices<S>>, never, R | Scope.Scope>;
|
|
397
|
+
/**
|
|
398
|
+
* Creates a named hydrated RefSubject using a string-encoded Schema codec.
|
|
399
|
+
*
|
|
400
|
+
* @remarks
|
|
401
|
+
* ## Why
|
|
402
|
+
*
|
|
403
|
+
* Creates state whose server value is Schema-encoded and whose browser value is Schema-decoded
|
|
404
|
+
* before the initializer resumes.
|
|
405
|
+
*
|
|
406
|
+
* ## Ownership and lifetime
|
|
407
|
+
*
|
|
408
|
+
* The creation Effect requires Scope; that Scope owns initializer subscriptions and deferred
|
|
409
|
+
* server/client coordination. Schema errors and codec services remain typed.
|
|
410
|
+
*
|
|
411
|
+
* Values, Effects, Effect Streams, and Fx are accepted as initializers. A named string codec uses
|
|
412
|
+
* its own `data-*` attribute; unnamed values share the versioned `data-typed-refsubject` envelope.
|
|
413
|
+
* See {@link https://effect.website/docs/schema/introduction/ | Effect Schema} for the codec and
|
|
414
|
+
* service model used by this boundary.
|
|
415
|
+
*
|
|
416
|
+
* ## Synchronous configuration errors
|
|
417
|
+
*
|
|
418
|
+
* Supplying an empty name, the reserved `typed-refsubject` name, or a name containing characters
|
|
419
|
+
* forbidden in an HTML attribute throws `TypeError` immediately while `hydrate` is called. These
|
|
420
|
+
* programmer errors are outside the returned Effect's typed error channel. Schema decoding and
|
|
421
|
+
* encoding failures remain `Schema.SchemaError`, and codec requirements remain typed services.
|
|
422
|
+
*
|
|
423
|
+
* @example
|
|
424
|
+
* ```ts
|
|
425
|
+
* import { Effect, Schema } from "effect"
|
|
426
|
+
* import * as Hydration from "@typed/fx/RefSubject"
|
|
427
|
+
* import { RefSubject } from "@typed/fx"
|
|
428
|
+
*
|
|
429
|
+
* const attributes = Effect.scoped(Effect.gen(function* () {
|
|
430
|
+
* const count = yield* Hydration.hydrate(Schema.FiniteFromString, 0, { name: "count" })
|
|
431
|
+
* yield* RefSubject.update(count, (value) => value + 1)
|
|
432
|
+
* return yield* count[Hydration.HydrationRefTypeId].toAttributes
|
|
433
|
+
* }))
|
|
434
|
+
* ```
|
|
435
|
+
*
|
|
436
|
+
* @since 2.0.0
|
|
437
|
+
* @category constructors
|
|
438
|
+
*/
|
|
439
|
+
export declare function hydrate<S extends Schema.Codec<any, string, any, any>, E = never, R = never>(schema: S, effect: HydrationInput<NoInfer<Schema.Schema.Type<S>>, E, R>, options: HydrateOptions<Schema.Schema.Type<S>> & {
|
|
440
|
+
readonly name: string;
|
|
441
|
+
}): HydrateEffect<S, E, R>;
|
|
442
|
+
/**
|
|
443
|
+
* Creates an unnamed hydrated RefSubject stored in the shared hydration envelope.
|
|
444
|
+
*
|
|
445
|
+
* @remarks
|
|
446
|
+
* ## Why
|
|
447
|
+
*
|
|
448
|
+
* Creates state whose server value is Schema-encoded and whose browser value is Schema-decoded
|
|
449
|
+
* before the initializer resumes.
|
|
450
|
+
*
|
|
451
|
+
* ## Ownership and lifetime
|
|
452
|
+
*
|
|
453
|
+
* The creation Effect requires Scope; that Scope owns initializer subscriptions and deferred
|
|
454
|
+
* server/client coordination. Schema errors and codec services remain typed.
|
|
455
|
+
*
|
|
456
|
+
* @since 2.0.0
|
|
457
|
+
* @category constructors
|
|
458
|
+
*/
|
|
459
|
+
export declare function hydrate<S extends Schema.Top, E = never, R = never>(schema: S, effect: HydrationInput<NoInfer<Schema.Schema.Type<S>>, E, R>, options?: HydrateOptions<Schema.Schema.Type<S>> & {
|
|
460
|
+
readonly name?: undefined;
|
|
461
|
+
}): HydrateEffect<S, E, R>;
|
|
462
|
+
/**
|
|
463
|
+
* Combines hydrated refs into one serialization and restoration boundary.
|
|
464
|
+
*
|
|
465
|
+
* @remarks
|
|
466
|
+
* ## Why
|
|
467
|
+
*
|
|
468
|
+
* Combines member metadata so several refs serialize and restore as one boundary while retaining
|
|
469
|
+
* each member's errors and codec services.
|
|
470
|
+
*
|
|
471
|
+
* ## Ownership and lifetime
|
|
472
|
+
*
|
|
473
|
+
* The combined boundary acquires nothing and delegates lifetime to its member refs. Encoding or
|
|
474
|
+
* decoding retains the members' Schema errors and services.
|
|
475
|
+
*
|
|
476
|
+
* Named attributes must be unique. Unnamed members are encoded together and restored as a group,
|
|
477
|
+
* so normal initializers cannot race ahead of a partially decoded envelope.
|
|
478
|
+
*
|
|
479
|
+
* ## Synchronous configuration errors
|
|
480
|
+
*
|
|
481
|
+
* Combining two named refs whose normalized `data-*` attribute names are equal throws `TypeError`
|
|
482
|
+
* immediately while `hydrateAll` is called. This duplicate-name check is a configuration error,
|
|
483
|
+
* not a typed Schema failure. Member encoding and decoding errors remain `Schema.SchemaError`, and
|
|
484
|
+
* their codec services remain visible in the returned `HydrationRef`.
|
|
485
|
+
*
|
|
486
|
+
* @example
|
|
487
|
+
* ```ts
|
|
488
|
+
* import { Effect, Schema } from "effect"
|
|
489
|
+
* import * as Hydration from "@typed/fx/RefSubject"
|
|
490
|
+
*
|
|
491
|
+
* const attributes = Effect.scoped(Effect.gen(function* () {
|
|
492
|
+
* const count = yield* Hydration.hydrate(Schema.Finite, 0)
|
|
493
|
+
* const status = yield* Hydration.hydrate(Schema.String, "ready")
|
|
494
|
+
* const state = Hydration.hydrateAll(count, status)
|
|
495
|
+
* return yield* state[Hydration.HydrationRefTypeId].toAttributes
|
|
496
|
+
* }))
|
|
497
|
+
* ```
|
|
498
|
+
*
|
|
499
|
+
* @since 2.0.0
|
|
500
|
+
* @category combinators
|
|
501
|
+
*/
|
|
502
|
+
export declare function hydrateAll<const Refs extends readonly [HydratedRefSubject.Any, ...HydratedRefSubject.Any[]]>(...refs: Refs): HydrationRef<HydratedRefSubject.HydrationError<Refs[number]>, HydratedRefSubject.HydrationServices<Refs[number]>>;
|
|
503
|
+
export {};
|
|
504
|
+
//# sourceMappingURL=Hydration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hydration.d.ts","sourceRoot":"","sources":["../../src/RefSubject/Hydration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAO1C,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,eAAwC,CAAC;AACxE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAE3D;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAK3D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WA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