@typed/fx 2.0.0-beta.6 → 2.0.0-beta.8
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/Fx/Fx.d.ts +9 -9
- package/dist/Fx/Fx.js +1 -1
- package/dist/Fx/TypeId.d.ts +3 -3
- package/dist/Fx/TypeId.js +2 -2
- package/dist/Fx/combinators/additive.d.ts +6 -6
- package/dist/Fx/combinators/additive.js +6 -6
- package/dist/Fx/combinators/catch.d.ts +7 -7
- package/dist/Fx/combinators/catch.js +7 -7
- package/dist/Fx/combinators/causes.d.ts +1 -1
- package/dist/Fx/combinators/causes.js +1 -1
- package/dist/Fx/combinators/changesWithEffect.d.ts +1 -1
- package/dist/Fx/combinators/changesWithEffect.js +1 -1
- package/dist/Fx/combinators/compact.d.ts +1 -1
- package/dist/Fx/combinators/compact.js +1 -1
- package/dist/Fx/combinators/concatMap.d.ts +2 -2
- package/dist/Fx/combinators/concatMap.js +2 -2
- package/dist/Fx/combinators/continueWith.d.ts +4 -4
- package/dist/Fx/combinators/continueWith.js +4 -4
- package/dist/Fx/combinators/debounce.d.ts +2 -2
- package/dist/Fx/combinators/debounce.d.ts.map +1 -1
- package/dist/Fx/combinators/debounce.js +1 -1
- package/dist/Fx/combinators/delay.d.ts +9 -7
- package/dist/Fx/combinators/delay.d.ts.map +1 -1
- package/dist/Fx/combinators/delay.js +8 -6
- package/dist/Fx/combinators/dropUntil.d.ts +2 -2
- package/dist/Fx/combinators/dropUntil.js +2 -2
- package/dist/Fx/combinators/during.d.ts +1 -1
- package/dist/Fx/combinators/during.js +1 -1
- package/dist/Fx/combinators/ensuring.d.ts +1 -1
- package/dist/Fx/combinators/ensuring.js +1 -1
- package/dist/Fx/combinators/exhaustLatestMap.d.ts +1 -1
- package/dist/Fx/combinators/exhaustLatestMap.js +1 -1
- package/dist/Fx/combinators/exhaustLatestMapEffect.d.ts +1 -1
- package/dist/Fx/combinators/exhaustLatestMapEffect.js +1 -1
- package/dist/Fx/combinators/exhaustMap.d.ts +1 -1
- package/dist/Fx/combinators/exhaustMap.js +1 -1
- package/dist/Fx/combinators/exhaustMapEffect.d.ts +1 -1
- package/dist/Fx/combinators/exhaustMapEffect.js +1 -1
- package/dist/Fx/combinators/exit.d.ts +1 -1
- package/dist/Fx/combinators/exit.js +1 -1
- package/dist/Fx/combinators/filter.d.ts +1 -1
- package/dist/Fx/combinators/filter.js +1 -1
- package/dist/Fx/combinators/filterEffect.d.ts +1 -1
- package/dist/Fx/combinators/filterEffect.js +1 -1
- package/dist/Fx/combinators/filterMap.d.ts +1 -1
- package/dist/Fx/combinators/filterMap.js +1 -1
- package/dist/Fx/combinators/filterMapEffect.d.ts +1 -1
- package/dist/Fx/combinators/filterMapEffect.js +1 -1
- package/dist/Fx/combinators/filterMapLoop.d.ts +1 -1
- package/dist/Fx/combinators/filterMapLoop.js +1 -1
- package/dist/Fx/combinators/filterMapLoopCause.d.ts +1 -1
- package/dist/Fx/combinators/filterMapLoopCause.js +1 -1
- package/dist/Fx/combinators/filterMapLoopCauseEffect.d.ts +1 -1
- package/dist/Fx/combinators/filterMapLoopCauseEffect.js +1 -1
- package/dist/Fx/combinators/filterMapLoopEffect.d.ts +1 -1
- package/dist/Fx/combinators/filterMapLoopEffect.js +1 -1
- package/dist/Fx/combinators/flatMap.d.ts +2 -2
- package/dist/Fx/combinators/flatMap.js +1 -1
- package/dist/Fx/combinators/flatMapConcurrently.d.ts +1 -1
- package/dist/Fx/combinators/flatMapConcurrently.js +1 -1
- package/dist/Fx/combinators/flatMapConcurrentlyEffect.d.ts +1 -1
- package/dist/Fx/combinators/flatMapConcurrentlyEffect.js +1 -1
- package/dist/Fx/combinators/flatMapEffect.d.ts +2 -2
- package/dist/Fx/combinators/flatMapEffect.js +1 -1
- package/dist/Fx/combinators/flip.d.ts +1 -1
- package/dist/Fx/combinators/flip.js +1 -1
- package/dist/Fx/combinators/gen.d.ts +1 -1
- package/dist/Fx/combinators/gen.js +1 -1
- package/dist/Fx/combinators/genScoped.d.ts +1 -1
- package/dist/Fx/combinators/genScoped.js +1 -1
- package/dist/Fx/combinators/grouped.d.ts +2 -2
- package/dist/Fx/combinators/grouped.js +2 -2
- package/dist/Fx/combinators/keyed.d.ts +2 -2
- package/dist/Fx/combinators/keyed.js +1 -1
- package/dist/Fx/combinators/loop.d.ts +1 -1
- package/dist/Fx/combinators/loop.js +1 -1
- package/dist/Fx/combinators/loopCause.d.ts +1 -1
- package/dist/Fx/combinators/loopCause.js +1 -1
- package/dist/Fx/combinators/loopCauseEffect.d.ts +1 -1
- package/dist/Fx/combinators/loopCauseEffect.js +1 -1
- package/dist/Fx/combinators/loopEffect.d.ts +1 -1
- package/dist/Fx/combinators/loopEffect.js +1 -1
- package/dist/Fx/combinators/map.d.ts +2 -2
- package/dist/Fx/combinators/map.js +2 -2
- package/dist/Fx/combinators/mapBoth.d.ts +1 -1
- package/dist/Fx/combinators/mapBoth.js +1 -1
- package/dist/Fx/combinators/mapEffect.d.ts +1 -1
- package/dist/Fx/combinators/mapEffect.js +1 -1
- package/dist/Fx/combinators/mapError.d.ts +1 -1
- package/dist/Fx/combinators/mapError.js +1 -1
- package/dist/Fx/combinators/mergeAll.d.ts +1 -1
- package/dist/Fx/combinators/mergeAll.js +1 -1
- package/dist/Fx/combinators/mergeOrdered.d.ts +1 -1
- package/dist/Fx/combinators/mergeOrdered.d.ts.map +1 -1
- package/dist/Fx/combinators/mergeOrdered.js +33 -11
- package/dist/Fx/combinators/onError.d.ts +1 -1
- package/dist/Fx/combinators/onError.js +1 -1
- package/dist/Fx/combinators/onExit.d.ts +1 -1
- package/dist/Fx/combinators/onExit.js +1 -1
- package/dist/Fx/combinators/onInterrupt.d.ts +1 -1
- package/dist/Fx/combinators/onInterrupt.js +1 -1
- package/dist/Fx/combinators/pairwise.d.ts +1 -1
- package/dist/Fx/combinators/pairwise.js +1 -1
- package/dist/Fx/combinators/provide.d.ts +4 -4
- package/dist/Fx/combinators/provide.js +4 -4
- package/dist/Fx/combinators/race.d.ts +2 -2
- package/dist/Fx/combinators/race.js +2 -2
- package/dist/Fx/combinators/repeat.d.ts +1 -1
- package/dist/Fx/combinators/repeat.js +1 -1
- package/dist/Fx/combinators/result.d.ts +1 -1
- package/dist/Fx/combinators/result.js +1 -1
- package/dist/Fx/combinators/retry.d.ts +1 -1
- package/dist/Fx/combinators/retry.js +1 -1
- package/dist/Fx/combinators/sample.d.ts +1 -1
- package/dist/Fx/combinators/sample.js +1 -1
- package/dist/Fx/combinators/scan.d.ts +2 -2
- package/dist/Fx/combinators/scan.js +2 -2
- package/dist/Fx/combinators/since.d.ts +1 -1
- package/dist/Fx/combinators/since.js +1 -1
- package/dist/Fx/combinators/skip.d.ts +2 -2
- package/dist/Fx/combinators/skip.js +2 -2
- package/dist/Fx/combinators/skipRepeats.d.ts +1 -1
- package/dist/Fx/combinators/skipRepeats.js +1 -1
- package/dist/Fx/combinators/skipRepeatsWith.d.ts +1 -1
- package/dist/Fx/combinators/skipRepeatsWith.js +1 -1
- package/dist/Fx/combinators/skipWhile.d.ts +4 -4
- package/dist/Fx/combinators/skipWhile.js +4 -4
- package/dist/Fx/combinators/slice.d.ts +3 -3
- package/dist/Fx/combinators/slice.js +2 -2
- package/dist/Fx/combinators/switchMap.d.ts +1 -1
- package/dist/Fx/combinators/switchMap.js +1 -1
- package/dist/Fx/combinators/switchMapEffect.d.ts +1 -1
- package/dist/Fx/combinators/switchMapEffect.js +1 -1
- package/dist/Fx/combinators/take.d.ts +2 -2
- package/dist/Fx/combinators/take.js +2 -2
- package/dist/Fx/combinators/takeUntil.d.ts +3 -3
- package/dist/Fx/combinators/takeUntil.js +3 -3
- package/dist/Fx/combinators/takeWhile.d.ts +2 -2
- package/dist/Fx/combinators/takeWhile.js +2 -2
- package/dist/Fx/combinators/tapEffect.d.ts +1 -1
- package/dist/Fx/combinators/tapEffect.js +1 -1
- package/dist/Fx/combinators/throttle.d.ts +3 -3
- package/dist/Fx/combinators/throttle.d.ts.map +1 -1
- package/dist/Fx/combinators/throttle.js +1 -1
- package/dist/Fx/combinators/timeout.d.ts +2 -2
- package/dist/Fx/combinators/timeout.js +2 -2
- package/dist/Fx/combinators/tuple.d.ts +2 -2
- package/dist/Fx/combinators/tuple.js +2 -2
- package/dist/Fx/combinators/until.d.ts +1 -1
- package/dist/Fx/combinators/until.js +1 -1
- package/dist/Fx/combinators/unwrap.d.ts +1 -1
- package/dist/Fx/combinators/unwrap.js +1 -1
- package/dist/Fx/combinators/unwrapScoped.d.ts +1 -1
- package/dist/Fx/combinators/unwrapScoped.js +1 -1
- package/dist/Fx/combinators/when.d.ts +2 -2
- package/dist/Fx/combinators/when.js +2 -2
- package/dist/Fx/combinators/withLatestFrom.d.ts +2 -2
- package/dist/Fx/combinators/withLatestFrom.js +2 -2
- package/dist/Fx/combinators/withSpan.d.ts +1 -1
- package/dist/Fx/combinators/withSpan.js +1 -1
- package/dist/Fx/combinators/zip.d.ts +4 -4
- package/dist/Fx/combinators/zip.js +4 -4
- package/dist/Fx/constructors/at.d.ts +1 -1
- package/dist/Fx/constructors/at.js +1 -1
- package/dist/Fx/constructors/die.d.ts +1 -1
- package/dist/Fx/constructors/die.js +1 -1
- package/dist/Fx/constructors/empty.d.ts +1 -1
- package/dist/Fx/constructors/empty.js +1 -1
- package/dist/Fx/constructors/fail.d.ts +1 -1
- package/dist/Fx/constructors/fail.js +1 -1
- package/dist/Fx/constructors/failCause.d.ts +1 -1
- package/dist/Fx/constructors/failCause.js +1 -1
- package/dist/Fx/constructors/fn.d.ts +4 -4
- package/dist/Fx/constructors/fn.js +1 -1
- package/dist/Fx/constructors/fromEffect.d.ts +2 -2
- package/dist/Fx/constructors/fromEffect.js +2 -2
- package/dist/Fx/constructors/fromFailures.d.ts +1 -1
- package/dist/Fx/constructors/fromFailures.js +1 -1
- package/dist/Fx/constructors/fromIterable.d.ts +1 -1
- package/dist/Fx/constructors/fromIterable.js +1 -1
- package/dist/Fx/constructors/fromSchedule.d.ts +6 -4
- package/dist/Fx/constructors/fromSchedule.d.ts.map +1 -1
- package/dist/Fx/constructors/fromSchedule.js +6 -4
- package/dist/Fx/constructors/interrupt.d.ts +1 -1
- package/dist/Fx/constructors/interrupt.js +1 -1
- package/dist/Fx/constructors/make.d.ts +9 -7
- package/dist/Fx/constructors/make.d.ts.map +1 -1
- package/dist/Fx/constructors/make.js +8 -6
- package/dist/Fx/constructors/periodic.d.ts +1 -1
- package/dist/Fx/constructors/periodic.js +1 -1
- package/dist/Fx/constructors/succeed.d.ts +4 -4
- package/dist/Fx/constructors/succeed.js +4 -4
- package/dist/Fx/constructors/suspend.d.ts +1 -1
- package/dist/Fx/constructors/suspend.js +1 -1
- package/dist/Fx/constructors/sync.d.ts +1 -1
- package/dist/Fx/constructors/sync.js +1 -1
- package/dist/Fx/run/collect.d.ts +4 -4
- package/dist/Fx/run/collect.js +4 -4
- package/dist/Fx/run/first.d.ts +1 -1
- package/dist/Fx/run/first.js +1 -1
- package/dist/Fx/run/fork.d.ts +2 -2
- package/dist/Fx/run/fork.js +2 -2
- package/dist/Fx/run/observe.d.ts +7 -5
- package/dist/Fx/run/observe.d.ts.map +1 -1
- package/dist/Fx/run/observe.js +30 -15
- package/dist/Fx/run/runPromise.d.ts +2 -2
- package/dist/Fx/run/runPromise.js +2 -2
- package/dist/Fx/stream.d.ts +4 -4
- package/dist/Fx/stream.js +2 -2
- package/dist/Push/Push.d.ts +30 -30
- package/dist/Push/Push.js +26 -26
- package/dist/RefSubject/Hydration.d.ts +24 -24
- package/dist/RefSubject/Hydration.js +5 -5
- package/dist/RefSubject/RefArray.d.ts +31 -31
- package/dist/RefSubject/RefArray.js +30 -30
- package/dist/RefSubject/RefBigDecimal.d.ts +20 -20
- package/dist/RefSubject/RefBigDecimal.js +19 -19
- package/dist/RefSubject/RefBigInt.d.ts +15 -15
- package/dist/RefSubject/RefBigInt.js +14 -14
- package/dist/RefSubject/RefBoolean.d.ts +15 -15
- package/dist/RefSubject/RefBoolean.js +14 -14
- package/dist/RefSubject/RefCause.d.ts +11 -11
- package/dist/RefSubject/RefCause.js +10 -10
- package/dist/RefSubject/RefChunk.d.ts +37 -37
- package/dist/RefSubject/RefChunk.js +36 -36
- package/dist/RefSubject/RefDateTime.d.ts +11 -11
- package/dist/RefSubject/RefDateTime.js +10 -10
- package/dist/RefSubject/RefDuration.d.ts +14 -14
- package/dist/RefSubject/RefDuration.js +13 -13
- package/dist/RefSubject/RefGraph.d.ts +29 -29
- package/dist/RefSubject/RefGraph.js +28 -28
- package/dist/RefSubject/RefHashMap.d.ts +27 -27
- package/dist/RefSubject/RefHashMap.js +26 -26
- package/dist/RefSubject/RefHashRing.d.ts +13 -13
- package/dist/RefSubject/RefHashRing.js +12 -12
- package/dist/RefSubject/RefHashSet.d.ts +21 -21
- package/dist/RefSubject/RefHashSet.js +20 -20
- package/dist/RefSubject/RefIterable.d.ts +30 -30
- package/dist/RefSubject/RefIterable.js +29 -29
- package/dist/RefSubject/RefOption.d.ts +13 -13
- package/dist/RefSubject/RefOption.js +12 -12
- package/dist/RefSubject/RefRecord.d.ts +31 -31
- package/dist/RefSubject/RefRecord.js +30 -30
- package/dist/RefSubject/RefResult.d.ts +12 -12
- package/dist/RefSubject/RefResult.js +11 -11
- package/dist/RefSubject/RefString.d.ts +17 -17
- package/dist/RefSubject/RefString.js +16 -16
- package/dist/RefSubject/RefStruct.d.ts +13 -13
- package/dist/RefSubject/RefStruct.js +12 -12
- package/dist/RefSubject/RefSubject.d.ts +93 -94
- package/dist/RefSubject/RefSubject.d.ts.map +1 -1
- package/dist/RefSubject/RefSubject.js +132 -77
- package/dist/RefSubject/RefTrie.d.ts +26 -26
- package/dist/RefSubject/RefTrie.js +25 -25
- package/dist/RefSubject/RefTuple.d.ts +11 -11
- package/dist/RefSubject/RefTuple.js +9 -9
- package/dist/Sink/Sink.d.ts +21 -19
- package/dist/Sink/Sink.d.ts.map +1 -1
- package/dist/Sink/Sink.js +5 -4
- package/dist/Sink/combinators.d.ts +33 -33
- package/dist/Sink/combinators.js +32 -32
- package/dist/Subject/Subject.d.ts +14 -13
- package/dist/Subject/Subject.d.ts.map +1 -1
- package/dist/Subject/Subject.js +11 -10
- package/dist/Versioned/Versioned.d.ts +31 -28
- package/dist/Versioned/Versioned.d.ts.map +1 -1
- package/dist/Versioned/Versioned.js +45 -37
- package/package.json +5 -4
|
@@ -20,7 +20,7 @@ import * as RefSubject from "./RefSubject.js";
|
|
|
20
20
|
* and cleanup; source failures and services stay on reads and pushes.
|
|
21
21
|
*
|
|
22
22
|
* @since 1.18.0
|
|
23
|
-
* @category
|
|
23
|
+
* @category Constructors
|
|
24
24
|
*/
|
|
25
25
|
export function make(initial) {
|
|
26
26
|
return RefSubject.make(initial, { eq: equals });
|
|
@@ -39,7 +39,7 @@ export function make(initial) {
|
|
|
39
39
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
40
40
|
*
|
|
41
41
|
* @since 1.18.0
|
|
42
|
-
* @category
|
|
42
|
+
* @category Constructors
|
|
43
43
|
*/
|
|
44
44
|
export function directed() {
|
|
45
45
|
return RefSubject.make(Graph.directed(), { eq: equals });
|
|
@@ -58,7 +58,7 @@ export function directed() {
|
|
|
58
58
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
59
59
|
*
|
|
60
60
|
* @since 1.18.0
|
|
61
|
-
* @category
|
|
61
|
+
* @category Constructors
|
|
62
62
|
*/
|
|
63
63
|
export function undirected() {
|
|
64
64
|
return RefSubject.make(Graph.undirected(), { eq: equals });
|
|
@@ -80,7 +80,7 @@ export function undirected() {
|
|
|
80
80
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
81
81
|
*
|
|
82
82
|
* @since 1.18.0
|
|
83
|
-
* @category
|
|
83
|
+
* @category State updates
|
|
84
84
|
*/
|
|
85
85
|
export const addNode = dual(2, function addNode(ref, data) {
|
|
86
86
|
return RefSubject.update(ref, (g) => {
|
|
@@ -103,7 +103,7 @@ export const addNode = dual(2, function addNode(ref, data) {
|
|
|
103
103
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
104
104
|
*
|
|
105
105
|
* @since 1.18.0
|
|
106
|
-
* @category
|
|
106
|
+
* @category State updates
|
|
107
107
|
*/
|
|
108
108
|
export const removeNode = dual(2, function removeNode(ref, nodeIndex) {
|
|
109
109
|
return RefSubject.update(ref, (g) => {
|
|
@@ -126,7 +126,7 @@ export const removeNode = dual(2, function removeNode(ref, nodeIndex) {
|
|
|
126
126
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
127
127
|
*
|
|
128
128
|
* @since 1.18.0
|
|
129
|
-
* @category
|
|
129
|
+
* @category State updates
|
|
130
130
|
*/
|
|
131
131
|
export const updateNode = dual(3, function updateNode(ref, nodeIndex, f) {
|
|
132
132
|
return RefSubject.update(ref, (g) => {
|
|
@@ -149,7 +149,7 @@ export const updateNode = dual(3, function updateNode(ref, nodeIndex, f) {
|
|
|
149
149
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
150
150
|
*
|
|
151
151
|
* @since 1.18.0
|
|
152
|
-
* @category
|
|
152
|
+
* @category State updates
|
|
153
153
|
*/
|
|
154
154
|
export const addEdge = dual(4, function addEdge(ref, source, target, data) {
|
|
155
155
|
return RefSubject.update(ref, (g) => {
|
|
@@ -172,7 +172,7 @@ export const addEdge = dual(4, function addEdge(ref, source, target, data) {
|
|
|
172
172
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
173
173
|
*
|
|
174
174
|
* @since 1.18.0
|
|
175
|
-
* @category
|
|
175
|
+
* @category State updates
|
|
176
176
|
*/
|
|
177
177
|
export const removeEdge = dual(2, function removeEdge(ref, edgeIndex) {
|
|
178
178
|
return RefSubject.update(ref, (g) => {
|
|
@@ -195,7 +195,7 @@ export const removeEdge = dual(2, function removeEdge(ref, edgeIndex) {
|
|
|
195
195
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
196
196
|
*
|
|
197
197
|
* @since 1.18.0
|
|
198
|
-
* @category
|
|
198
|
+
* @category State updates
|
|
199
199
|
*/
|
|
200
200
|
export const updateEdge = dual(3, function updateEdge(ref, edgeIndex, f) {
|
|
201
201
|
return RefSubject.update(ref, (g) => {
|
|
@@ -217,7 +217,7 @@ export const updateEdge = dual(3, function updateEdge(ref, edgeIndex, f) {
|
|
|
217
217
|
* The Effect starts when run, participates in the source ref's serialized update boundary, and
|
|
218
218
|
* acquires no resource. It returns the committed graph and retains the ref's E and R channels.
|
|
219
219
|
* @since 1.18.0
|
|
220
|
-
* @category
|
|
220
|
+
* @category State updates
|
|
221
221
|
*/
|
|
222
222
|
export const mapNodes = dual(2, function mapNodes(ref, f) {
|
|
223
223
|
return RefSubject.update(ref, (g) => {
|
|
@@ -239,7 +239,7 @@ export const mapNodes = dual(2, function mapNodes(ref, f) {
|
|
|
239
239
|
* The Effect starts when run, participates in the source ref's serialized update boundary, and
|
|
240
240
|
* acquires no resource. It returns the committed graph and retains the ref's E and R channels.
|
|
241
241
|
* @since 1.18.0
|
|
242
|
-
* @category
|
|
242
|
+
* @category State updates
|
|
243
243
|
*/
|
|
244
244
|
export const mapEdges = dual(2, function mapEdges(ref, f) {
|
|
245
245
|
return RefSubject.update(ref, (g) => {
|
|
@@ -261,7 +261,7 @@ export const mapEdges = dual(2, function mapEdges(ref, f) {
|
|
|
261
261
|
* The Effect starts when run, participates in the source ref's serialized update boundary, and
|
|
262
262
|
* acquires no resource. It returns the committed graph and retains the ref's E and R channels.
|
|
263
263
|
* @since 1.18.0
|
|
264
|
-
* @category
|
|
264
|
+
* @category State updates
|
|
265
265
|
*/
|
|
266
266
|
export const filterNodes = dual(2, function filterNodes(ref, predicate) {
|
|
267
267
|
return RefSubject.update(ref, (g) => {
|
|
@@ -283,7 +283,7 @@ export const filterNodes = dual(2, function filterNodes(ref, predicate) {
|
|
|
283
283
|
* The Effect starts when run, participates in the source ref's serialized update boundary, and
|
|
284
284
|
* acquires no resource. It returns the committed graph and retains the ref's E and R channels.
|
|
285
285
|
* @since 1.18.0
|
|
286
|
-
* @category
|
|
286
|
+
* @category State updates
|
|
287
287
|
*/
|
|
288
288
|
export const filterEdges = dual(2, function filterEdges(ref, predicate) {
|
|
289
289
|
return RefSubject.update(ref, (g) => {
|
|
@@ -306,7 +306,7 @@ export const filterEdges = dual(2, function filterEdges(ref, predicate) {
|
|
|
306
306
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
307
307
|
*
|
|
308
308
|
* @since 1.18.0
|
|
309
|
-
* @category
|
|
309
|
+
* @category State updates
|
|
310
310
|
*/
|
|
311
311
|
export const reverse = (ref) => RefSubject.update(ref, (g) => {
|
|
312
312
|
const mutable = Graph.beginMutation(g);
|
|
@@ -329,7 +329,7 @@ export const reverse = (ref) => RefSubject.update(ref, (g) => {
|
|
|
329
329
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
330
330
|
*
|
|
331
331
|
* @since 1.18.0
|
|
332
|
-
* @category
|
|
332
|
+
* @category Derived queries
|
|
333
333
|
*/
|
|
334
334
|
export const nodeCount = (ref) => RefSubject.map(ref, Graph.nodeCount);
|
|
335
335
|
/**
|
|
@@ -345,7 +345,7 @@ export const nodeCount = (ref) => RefSubject.map(ref, Graph.nodeCount);
|
|
|
345
345
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
346
346
|
*
|
|
347
347
|
* @since 1.18.0
|
|
348
|
-
* @category
|
|
348
|
+
* @category Derived queries
|
|
349
349
|
*/
|
|
350
350
|
export const edgeCount = (ref) => RefSubject.map(ref, Graph.edgeCount);
|
|
351
351
|
/**
|
|
@@ -362,7 +362,7 @@ export const edgeCount = (ref) => RefSubject.map(ref, Graph.edgeCount);
|
|
|
362
362
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
363
363
|
*
|
|
364
364
|
* @since 1.18.0
|
|
365
|
-
* @category
|
|
365
|
+
* @category State predicates
|
|
366
366
|
*/
|
|
367
367
|
export const hasNode = dual(2, function hasNode(ref, nodeIndex) {
|
|
368
368
|
return RefSubject.map(ref, Graph.hasNode(nodeIndex));
|
|
@@ -381,7 +381,7 @@ export const hasNode = dual(2, function hasNode(ref, nodeIndex) {
|
|
|
381
381
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
382
382
|
*
|
|
383
383
|
* @since 1.18.0
|
|
384
|
-
* @category
|
|
384
|
+
* @category State predicates
|
|
385
385
|
*/
|
|
386
386
|
export const hasEdge = dual(3, function hasEdge(ref, source, target) {
|
|
387
387
|
return RefSubject.map(ref, Graph.hasEdge(source, target));
|
|
@@ -400,7 +400,7 @@ export const hasEdge = dual(3, function hasEdge(ref, source, target) {
|
|
|
400
400
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
401
401
|
*
|
|
402
402
|
* @since 1.18.0
|
|
403
|
-
* @category
|
|
403
|
+
* @category Derived queries
|
|
404
404
|
*/
|
|
405
405
|
export const neighbors = dual(2, function neighbors(ref, nodeIndex) {
|
|
406
406
|
return RefSubject.map(ref, Graph.neighbors(nodeIndex));
|
|
@@ -419,7 +419,7 @@ export const neighbors = dual(2, function neighbors(ref, nodeIndex) {
|
|
|
419
419
|
* once; Fx observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
420
420
|
*
|
|
421
421
|
* @since 1.18.0
|
|
422
|
-
* @category
|
|
422
|
+
* @category Derived queries
|
|
423
423
|
*/
|
|
424
424
|
export const neighborsDirected = dual(3, function neighborsDirected(ref, nodeIndex, direction) {
|
|
425
425
|
return RefSubject.map(ref, Graph.neighborsDirected(nodeIndex, direction));
|
|
@@ -438,7 +438,7 @@ export const neighborsDirected = dual(3, function neighborsDirected(ref, nodeInd
|
|
|
438
438
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
439
439
|
*
|
|
440
440
|
* @since 1.18.0
|
|
441
|
-
* @category
|
|
441
|
+
* @category State predicates
|
|
442
442
|
*/
|
|
443
443
|
export const isAcyclic = (ref) => RefSubject.map(ref, Graph.isAcyclic);
|
|
444
444
|
/**
|
|
@@ -455,7 +455,7 @@ export const isAcyclic = (ref) => RefSubject.map(ref, Graph.isAcyclic);
|
|
|
455
455
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
456
456
|
*
|
|
457
457
|
* @since 1.18.0
|
|
458
|
-
* @category
|
|
458
|
+
* @category State predicates
|
|
459
459
|
*/
|
|
460
460
|
export const isBipartite = (ref) => RefSubject.map(ref, Graph.isBipartite);
|
|
461
461
|
/**
|
|
@@ -472,7 +472,7 @@ export const isBipartite = (ref) => RefSubject.map(ref, Graph.isBipartite);
|
|
|
472
472
|
* once; Fx observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
473
473
|
*
|
|
474
474
|
* @since 1.18.0
|
|
475
|
-
* @category
|
|
475
|
+
* @category Derived queries
|
|
476
476
|
*/
|
|
477
477
|
export const connectedComponents = (ref) => RefSubject.map(ref, Graph.connectedComponents);
|
|
478
478
|
/**
|
|
@@ -490,7 +490,7 @@ export const connectedComponents = (ref) => RefSubject.map(ref, Graph.connectedC
|
|
|
490
490
|
* cleanup.
|
|
491
491
|
*
|
|
492
492
|
* @since 1.18.0
|
|
493
|
-
* @category
|
|
493
|
+
* @category Derived queries
|
|
494
494
|
*/
|
|
495
495
|
export const stronglyConnectedComponents = (ref) => RefSubject.map(ref, Graph.stronglyConnectedComponents);
|
|
496
496
|
// ========================================
|
|
@@ -510,7 +510,7 @@ export const stronglyConnectedComponents = (ref) => RefSubject.map(ref, Graph.st
|
|
|
510
510
|
* while absent; the observing Scope owns and finalizes its Fx subscription.
|
|
511
511
|
*
|
|
512
512
|
* @since 1.18.0
|
|
513
|
-
* @category
|
|
513
|
+
* @category Optional queries
|
|
514
514
|
*/
|
|
515
515
|
export const getNode = dual(2, function getNode(ref, nodeIndex) {
|
|
516
516
|
return RefSubject.filterMap(ref, Graph.getNode(nodeIndex));
|
|
@@ -529,7 +529,7 @@ export const getNode = dual(2, function getNode(ref, nodeIndex) {
|
|
|
529
529
|
* while absent; the observing Scope owns and finalizes its Fx subscription.
|
|
530
530
|
*
|
|
531
531
|
* @since 1.18.0
|
|
532
|
-
* @category
|
|
532
|
+
* @category Optional queries
|
|
533
533
|
*/
|
|
534
534
|
export const getEdge = dual(2, function getEdge(ref, edgeIndex) {
|
|
535
535
|
return RefSubject.filterMap(ref, (g) => Graph.getEdge(g, edgeIndex));
|
|
@@ -548,7 +548,7 @@ export const getEdge = dual(2, function getEdge(ref, edgeIndex) {
|
|
|
548
548
|
* while absent; the observing Scope owns and finalizes its Fx subscription.
|
|
549
549
|
*
|
|
550
550
|
* @since 1.18.0
|
|
551
|
-
* @category
|
|
551
|
+
* @category Optional queries
|
|
552
552
|
*/
|
|
553
553
|
export const findNode = dual(2, function findNode(ref, predicate) {
|
|
554
554
|
return RefSubject.filterMap(ref, (g) => Graph.findNode(g, predicate));
|
|
@@ -567,7 +567,7 @@ export const findNode = dual(2, function findNode(ref, predicate) {
|
|
|
567
567
|
* while absent; the observing Scope owns and finalizes its Fx subscription.
|
|
568
568
|
*
|
|
569
569
|
* @since 1.18.0
|
|
570
|
-
* @category
|
|
570
|
+
* @category Optional queries
|
|
571
571
|
*/
|
|
572
572
|
export const findEdge = dual(2, function findEdge(ref, predicate) {
|
|
573
573
|
return RefSubject.filterMap(ref, (g) => Graph.findEdge(g, predicate));
|
|
@@ -22,7 +22,7 @@ import * as RefSubject from "./RefSubject.js";
|
|
|
22
22
|
* services, interruption, and Scope requirements expressed by its members.
|
|
23
23
|
*
|
|
24
24
|
* @since 1.18.0
|
|
25
|
-
* @category models
|
|
25
|
+
* @category State models
|
|
26
26
|
*/
|
|
27
27
|
export interface RefHashMap<in out K, in out V, in out E = never, out R = never> extends RefSubject.RefSubject<HashMap.HashMap<K, V>, E, R> {
|
|
28
28
|
}
|
|
@@ -40,7 +40,7 @@ export interface RefHashMap<in out K, in out V, in out E = never, out R = never>
|
|
|
40
40
|
* and cleanup; source failures and services stay on reads and pushes.
|
|
41
41
|
*
|
|
42
42
|
* @since 1.18.0
|
|
43
|
-
* @category
|
|
43
|
+
* @category Constructors
|
|
44
44
|
*/
|
|
45
45
|
export declare function make<K, V, E = never, R = never>(initial: HashMap.HashMap<K, V> | Effect.Effect<HashMap.HashMap<K, V>, E, R> | Fx.Fx<HashMap.HashMap<K, V>, E, R>): Effect.Effect<RefHashMap<K, V, E>, never, R | Scope.Scope>;
|
|
46
46
|
/**
|
|
@@ -57,7 +57,7 @@ export declare function make<K, V, E = never, R = never>(initial: HashMap.HashMa
|
|
|
57
57
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
58
58
|
*
|
|
59
59
|
* @since 1.18.0
|
|
60
|
-
* @category
|
|
60
|
+
* @category State updates
|
|
61
61
|
*/
|
|
62
62
|
export declare const set: {
|
|
63
63
|
<K, V>(key: K, value: V): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -77,7 +77,7 @@ export declare const set: {
|
|
|
77
77
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
78
78
|
*
|
|
79
79
|
* @since 1.18.0
|
|
80
|
-
* @category
|
|
80
|
+
* @category State updates
|
|
81
81
|
*/
|
|
82
82
|
export declare const remove: {
|
|
83
83
|
<K>(key: K): <V, E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -97,7 +97,7 @@ export declare const remove: {
|
|
|
97
97
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
98
98
|
*
|
|
99
99
|
* @since 1.18.0
|
|
100
|
-
* @category
|
|
100
|
+
* @category State updates
|
|
101
101
|
*/
|
|
102
102
|
export declare const modify: {
|
|
103
103
|
<K, V>(key: K, f: (v: V) => V): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -117,7 +117,7 @@ export declare const modify: {
|
|
|
117
117
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
118
118
|
*
|
|
119
119
|
* @since 1.18.0
|
|
120
|
-
* @category
|
|
120
|
+
* @category State updates
|
|
121
121
|
*/
|
|
122
122
|
export declare const modifyAt: {
|
|
123
123
|
<K, V>(key: K, f: HashMap.HashMap.UpdateFn<V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -137,7 +137,7 @@ export declare const modifyAt: {
|
|
|
137
137
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
138
138
|
*
|
|
139
139
|
* @since 1.18.0
|
|
140
|
-
* @category
|
|
140
|
+
* @category State updates
|
|
141
141
|
*/
|
|
142
142
|
export declare const setMany: {
|
|
143
143
|
<K, V>(entries: Iterable<readonly [K, V]>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -157,7 +157,7 @@ export declare const setMany: {
|
|
|
157
157
|
* value. It acquires no resource; failures and services remain those of the source ref.
|
|
158
158
|
*
|
|
159
159
|
* @since 1.18.0
|
|
160
|
-
* @category
|
|
160
|
+
* @category State updates
|
|
161
161
|
*/
|
|
162
162
|
export declare const removeMany: {
|
|
163
163
|
<K>(keys: Iterable<K>): <V, E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -177,7 +177,7 @@ export declare const removeMany: {
|
|
|
177
177
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
178
178
|
*
|
|
179
179
|
* @since 1.18.0
|
|
180
|
-
* @category
|
|
180
|
+
* @category State updates
|
|
181
181
|
*/
|
|
182
182
|
export declare const clear: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
183
183
|
/**
|
|
@@ -194,7 +194,7 @@ export declare const clear: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => Effect.
|
|
|
194
194
|
* It acquires no resource; failures and services remain those of the source ref.
|
|
195
195
|
*
|
|
196
196
|
* @since 1.18.0
|
|
197
|
-
* @category
|
|
197
|
+
* @category State updates
|
|
198
198
|
*/
|
|
199
199
|
export declare const union: {
|
|
200
200
|
<K, V>(that: HashMap.HashMap<K, V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -213,7 +213,7 @@ export declare const union: {
|
|
|
213
213
|
* The Effect starts when run, participates in the source ref's serialized update boundary, and
|
|
214
214
|
* acquires no resource. It returns the committed HashMap and retains the ref's E and R channels.
|
|
215
215
|
* @since 1.18.0
|
|
216
|
-
* @category
|
|
216
|
+
* @category State updates
|
|
217
217
|
*/
|
|
218
218
|
export declare const filter: {
|
|
219
219
|
<K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -232,7 +232,7 @@ export declare const filter: {
|
|
|
232
232
|
* The Effect starts when run, participates in the source ref's serialized update boundary, and
|
|
233
233
|
* acquires no resource. It returns the committed HashMap and retains the ref's E and R channels.
|
|
234
234
|
* @since 1.18.0
|
|
235
|
-
* @category
|
|
235
|
+
* @category State updates
|
|
236
236
|
*/
|
|
237
237
|
export declare const map: {
|
|
238
238
|
<K, V>(f: (value: V, key: K) => V): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -252,7 +252,7 @@ export declare const map: {
|
|
|
252
252
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
253
253
|
*
|
|
254
254
|
* @since 1.18.0
|
|
255
|
-
* @category
|
|
255
|
+
* @category Derived queries
|
|
256
256
|
*/
|
|
257
257
|
export declare const size: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<number, E, R>;
|
|
258
258
|
/**
|
|
@@ -269,7 +269,7 @@ export declare const size: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubje
|
|
|
269
269
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
270
270
|
*
|
|
271
271
|
* @since 1.18.0
|
|
272
|
-
* @category
|
|
272
|
+
* @category State predicates
|
|
273
273
|
*/
|
|
274
274
|
export declare const isEmpty: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
|
|
275
275
|
/**
|
|
@@ -286,7 +286,7 @@ export declare const isEmpty: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSu
|
|
|
286
286
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
287
287
|
*
|
|
288
288
|
* @since 1.18.0
|
|
289
|
-
* @category
|
|
289
|
+
* @category State predicates
|
|
290
290
|
*/
|
|
291
291
|
export declare const isNonEmpty: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
|
|
292
292
|
/**
|
|
@@ -303,7 +303,7 @@ export declare const isNonEmpty: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => Re
|
|
|
303
303
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
304
304
|
*
|
|
305
305
|
* @since 1.18.0
|
|
306
|
-
* @category
|
|
306
|
+
* @category Derived queries
|
|
307
307
|
*/
|
|
308
308
|
export declare const keys: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<Array<K>, E, R>;
|
|
309
309
|
/**
|
|
@@ -320,7 +320,7 @@ export declare const keys: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubje
|
|
|
320
320
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
321
321
|
*
|
|
322
322
|
* @since 1.18.0
|
|
323
|
-
* @category
|
|
323
|
+
* @category Derived queries
|
|
324
324
|
*/
|
|
325
325
|
export declare const values: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<Array<V>, E, R>;
|
|
326
326
|
/**
|
|
@@ -337,7 +337,7 @@ export declare const values: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSub
|
|
|
337
337
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
338
338
|
*
|
|
339
339
|
* @since 1.18.0
|
|
340
|
-
* @category
|
|
340
|
+
* @category Derived queries
|
|
341
341
|
*/
|
|
342
342
|
export declare const entries: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<Array<[K, V]>, E, R>;
|
|
343
343
|
/**
|
|
@@ -354,7 +354,7 @@ export declare const entries: <K, V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSu
|
|
|
354
354
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
355
355
|
*
|
|
356
356
|
* @since 1.18.0
|
|
357
|
-
* @category
|
|
357
|
+
* @category State predicates
|
|
358
358
|
*/
|
|
359
359
|
export declare const has: {
|
|
360
360
|
<K>(key: K): <V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
|
|
@@ -374,7 +374,7 @@ export declare const has: {
|
|
|
374
374
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
375
375
|
*
|
|
376
376
|
* @since 1.18.0
|
|
377
|
-
* @category
|
|
377
|
+
* @category Derived queries
|
|
378
378
|
*/
|
|
379
379
|
export declare const mapValues: {
|
|
380
380
|
<K, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;
|
|
@@ -394,7 +394,7 @@ export declare const mapValues: {
|
|
|
394
394
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
395
395
|
*
|
|
396
396
|
* @since 1.18.0
|
|
397
|
-
* @category
|
|
397
|
+
* @category Derived queries
|
|
398
398
|
*/
|
|
399
399
|
export declare const filterValues: {
|
|
400
400
|
<K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, V>, E, R>;
|
|
@@ -414,7 +414,7 @@ export declare const filterValues: {
|
|
|
414
414
|
* Fx observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
415
415
|
*
|
|
416
416
|
* @since 1.18.0
|
|
417
|
-
* @category
|
|
417
|
+
* @category Derived queries
|
|
418
418
|
*/
|
|
419
419
|
export declare const filterMapValues: {
|
|
420
420
|
<K, V, B>(f: (value: V, key: K) => Option.Option<B>): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;
|
|
@@ -434,7 +434,7 @@ export declare const filterMapValues: {
|
|
|
434
434
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
435
435
|
*
|
|
436
436
|
* @since 1.18.0
|
|
437
|
-
* @category
|
|
437
|
+
* @category Derived queries
|
|
438
438
|
*/
|
|
439
439
|
export declare const reduce: {
|
|
440
440
|
<K, V, B>(b: B, f: (b: B, value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<B, E, R>;
|
|
@@ -454,7 +454,7 @@ export declare const reduce: {
|
|
|
454
454
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
455
455
|
*
|
|
456
456
|
* @since 1.18.0
|
|
457
|
-
* @category
|
|
457
|
+
* @category State predicates
|
|
458
458
|
*/
|
|
459
459
|
export declare const some: {
|
|
460
460
|
<K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
|
|
@@ -474,7 +474,7 @@ export declare const some: {
|
|
|
474
474
|
* observation follows later pushes and its observing Scope owns subscription cleanup.
|
|
475
475
|
*
|
|
476
476
|
* @since 1.18.0
|
|
477
|
-
* @category
|
|
477
|
+
* @category State predicates
|
|
478
478
|
*/
|
|
479
479
|
export declare const every: {
|
|
480
480
|
<K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
|
|
@@ -494,7 +494,7 @@ export declare const every: {
|
|
|
494
494
|
* while absent; the observing Scope owns and finalizes its Fx subscription.
|
|
495
495
|
*
|
|
496
496
|
* @since 1.18.0
|
|
497
|
-
* @category
|
|
497
|
+
* @category Optional queries
|
|
498
498
|
*/
|
|
499
499
|
export declare const get: {
|
|
500
500
|
<K>(key: K): <V, E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Filtered<V, E, R>;
|
|
@@ -514,7 +514,7 @@ export declare const get: {
|
|
|
514
514
|
* while absent; the observing Scope owns and finalizes its Fx subscription.
|
|
515
515
|
*
|
|
516
516
|
* @since 1.18.0
|
|
517
|
-
* @category
|
|
517
|
+
* @category Optional queries
|
|
518
518
|
*/
|
|
519
519
|
export declare const findFirst: {
|
|
520
520
|
<K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Filtered<[K, V], E, R>;
|