@typed/fx 2.0.0-beta.5 → 2.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/dist/Fx/Fx.d.ts +9 -9
  2. package/dist/Fx/Fx.js +1 -1
  3. package/dist/Fx/TypeId.d.ts +3 -3
  4. package/dist/Fx/TypeId.js +2 -2
  5. package/dist/Fx/combinators/additive.d.ts +6 -6
  6. package/dist/Fx/combinators/additive.js +6 -6
  7. package/dist/Fx/combinators/catch.d.ts +7 -7
  8. package/dist/Fx/combinators/catch.js +7 -7
  9. package/dist/Fx/combinators/causes.d.ts +1 -1
  10. package/dist/Fx/combinators/causes.js +1 -1
  11. package/dist/Fx/combinators/changesWithEffect.d.ts +1 -1
  12. package/dist/Fx/combinators/changesWithEffect.js +1 -1
  13. package/dist/Fx/combinators/compact.d.ts +1 -1
  14. package/dist/Fx/combinators/compact.js +1 -1
  15. package/dist/Fx/combinators/concatMap.d.ts +2 -2
  16. package/dist/Fx/combinators/concatMap.js +2 -2
  17. package/dist/Fx/combinators/continueWith.d.ts +4 -4
  18. package/dist/Fx/combinators/continueWith.js +4 -4
  19. package/dist/Fx/combinators/debounce.d.ts +2 -2
  20. package/dist/Fx/combinators/debounce.d.ts.map +1 -1
  21. package/dist/Fx/combinators/debounce.js +1 -1
  22. package/dist/Fx/combinators/delay.d.ts +9 -7
  23. package/dist/Fx/combinators/delay.d.ts.map +1 -1
  24. package/dist/Fx/combinators/delay.js +8 -6
  25. package/dist/Fx/combinators/dropUntil.d.ts +2 -2
  26. package/dist/Fx/combinators/dropUntil.js +2 -2
  27. package/dist/Fx/combinators/during.d.ts +1 -1
  28. package/dist/Fx/combinators/during.js +1 -1
  29. package/dist/Fx/combinators/ensuring.d.ts +1 -1
  30. package/dist/Fx/combinators/ensuring.js +1 -1
  31. package/dist/Fx/combinators/exhaustLatestMap.d.ts +1 -1
  32. package/dist/Fx/combinators/exhaustLatestMap.js +1 -1
  33. package/dist/Fx/combinators/exhaustLatestMapEffect.d.ts +1 -1
  34. package/dist/Fx/combinators/exhaustLatestMapEffect.js +1 -1
  35. package/dist/Fx/combinators/exhaustMap.d.ts +1 -1
  36. package/dist/Fx/combinators/exhaustMap.js +1 -1
  37. package/dist/Fx/combinators/exhaustMapEffect.d.ts +1 -1
  38. package/dist/Fx/combinators/exhaustMapEffect.js +1 -1
  39. package/dist/Fx/combinators/exit.d.ts +1 -1
  40. package/dist/Fx/combinators/exit.js +1 -1
  41. package/dist/Fx/combinators/filter.d.ts +1 -1
  42. package/dist/Fx/combinators/filter.js +1 -1
  43. package/dist/Fx/combinators/filterEffect.d.ts +1 -1
  44. package/dist/Fx/combinators/filterEffect.js +1 -1
  45. package/dist/Fx/combinators/filterMap.d.ts +1 -1
  46. package/dist/Fx/combinators/filterMap.js +1 -1
  47. package/dist/Fx/combinators/filterMapEffect.d.ts +1 -1
  48. package/dist/Fx/combinators/filterMapEffect.js +1 -1
  49. package/dist/Fx/combinators/filterMapLoop.d.ts +1 -1
  50. package/dist/Fx/combinators/filterMapLoop.js +1 -1
  51. package/dist/Fx/combinators/filterMapLoopCause.d.ts +1 -1
  52. package/dist/Fx/combinators/filterMapLoopCause.js +1 -1
  53. package/dist/Fx/combinators/filterMapLoopCauseEffect.d.ts +1 -1
  54. package/dist/Fx/combinators/filterMapLoopCauseEffect.js +1 -1
  55. package/dist/Fx/combinators/filterMapLoopEffect.d.ts +1 -1
  56. package/dist/Fx/combinators/filterMapLoopEffect.js +1 -1
  57. package/dist/Fx/combinators/flatMap.d.ts +2 -2
  58. package/dist/Fx/combinators/flatMap.js +1 -1
  59. package/dist/Fx/combinators/flatMapConcurrently.d.ts +1 -1
  60. package/dist/Fx/combinators/flatMapConcurrently.js +1 -1
  61. package/dist/Fx/combinators/flatMapConcurrentlyEffect.d.ts +1 -1
  62. package/dist/Fx/combinators/flatMapConcurrentlyEffect.js +1 -1
  63. package/dist/Fx/combinators/flatMapEffect.d.ts +2 -2
  64. package/dist/Fx/combinators/flatMapEffect.js +1 -1
  65. package/dist/Fx/combinators/flip.d.ts +1 -1
  66. package/dist/Fx/combinators/flip.js +1 -1
  67. package/dist/Fx/combinators/gen.d.ts +1 -1
  68. package/dist/Fx/combinators/gen.js +1 -1
  69. package/dist/Fx/combinators/genScoped.d.ts +1 -1
  70. package/dist/Fx/combinators/genScoped.js +1 -1
  71. package/dist/Fx/combinators/grouped.d.ts +2 -2
  72. package/dist/Fx/combinators/grouped.js +2 -2
  73. package/dist/Fx/combinators/keyed.d.ts +2 -2
  74. package/dist/Fx/combinators/keyed.js +1 -1
  75. package/dist/Fx/combinators/loop.d.ts +1 -1
  76. package/dist/Fx/combinators/loop.js +1 -1
  77. package/dist/Fx/combinators/loopCause.d.ts +1 -1
  78. package/dist/Fx/combinators/loopCause.js +1 -1
  79. package/dist/Fx/combinators/loopCauseEffect.d.ts +1 -1
  80. package/dist/Fx/combinators/loopCauseEffect.js +1 -1
  81. package/dist/Fx/combinators/loopEffect.d.ts +1 -1
  82. package/dist/Fx/combinators/loopEffect.js +1 -1
  83. package/dist/Fx/combinators/map.d.ts +2 -2
  84. package/dist/Fx/combinators/map.js +2 -2
  85. package/dist/Fx/combinators/mapBoth.d.ts +1 -1
  86. package/dist/Fx/combinators/mapBoth.js +1 -1
  87. package/dist/Fx/combinators/mapEffect.d.ts +1 -1
  88. package/dist/Fx/combinators/mapEffect.js +1 -1
  89. package/dist/Fx/combinators/mapError.d.ts +1 -1
  90. package/dist/Fx/combinators/mapError.js +1 -1
  91. package/dist/Fx/combinators/mergeAll.d.ts +1 -1
  92. package/dist/Fx/combinators/mergeAll.js +1 -1
  93. package/dist/Fx/combinators/mergeOrdered.d.ts +1 -1
  94. package/dist/Fx/combinators/mergeOrdered.d.ts.map +1 -1
  95. package/dist/Fx/combinators/mergeOrdered.js +33 -11
  96. package/dist/Fx/combinators/onError.d.ts +1 -1
  97. package/dist/Fx/combinators/onError.js +1 -1
  98. package/dist/Fx/combinators/onExit.d.ts +1 -1
  99. package/dist/Fx/combinators/onExit.js +1 -1
  100. package/dist/Fx/combinators/onInterrupt.d.ts +1 -1
  101. package/dist/Fx/combinators/onInterrupt.js +1 -1
  102. package/dist/Fx/combinators/pairwise.d.ts +1 -1
  103. package/dist/Fx/combinators/pairwise.js +1 -1
  104. package/dist/Fx/combinators/provide.d.ts +4 -4
  105. package/dist/Fx/combinators/provide.js +4 -4
  106. package/dist/Fx/combinators/race.d.ts +2 -2
  107. package/dist/Fx/combinators/race.js +2 -2
  108. package/dist/Fx/combinators/repeat.d.ts +1 -1
  109. package/dist/Fx/combinators/repeat.js +1 -1
  110. package/dist/Fx/combinators/result.d.ts +1 -1
  111. package/dist/Fx/combinators/result.js +1 -1
  112. package/dist/Fx/combinators/retry.d.ts +1 -1
  113. package/dist/Fx/combinators/retry.js +1 -1
  114. package/dist/Fx/combinators/sample.d.ts +1 -1
  115. package/dist/Fx/combinators/sample.js +1 -1
  116. package/dist/Fx/combinators/scan.d.ts +2 -2
  117. package/dist/Fx/combinators/scan.js +2 -2
  118. package/dist/Fx/combinators/since.d.ts +1 -1
  119. package/dist/Fx/combinators/since.js +1 -1
  120. package/dist/Fx/combinators/skip.d.ts +2 -2
  121. package/dist/Fx/combinators/skip.js +2 -2
  122. package/dist/Fx/combinators/skipRepeats.d.ts +1 -1
  123. package/dist/Fx/combinators/skipRepeats.js +1 -1
  124. package/dist/Fx/combinators/skipRepeatsWith.d.ts +1 -1
  125. package/dist/Fx/combinators/skipRepeatsWith.js +1 -1
  126. package/dist/Fx/combinators/skipWhile.d.ts +4 -4
  127. package/dist/Fx/combinators/skipWhile.js +4 -4
  128. package/dist/Fx/combinators/slice.d.ts +3 -3
  129. package/dist/Fx/combinators/slice.js +2 -2
  130. package/dist/Fx/combinators/switchMap.d.ts +1 -1
  131. package/dist/Fx/combinators/switchMap.js +1 -1
  132. package/dist/Fx/combinators/switchMapEffect.d.ts +1 -1
  133. package/dist/Fx/combinators/switchMapEffect.js +1 -1
  134. package/dist/Fx/combinators/take.d.ts +2 -2
  135. package/dist/Fx/combinators/take.js +2 -2
  136. package/dist/Fx/combinators/takeUntil.d.ts +3 -3
  137. package/dist/Fx/combinators/takeUntil.js +3 -3
  138. package/dist/Fx/combinators/takeWhile.d.ts +2 -2
  139. package/dist/Fx/combinators/takeWhile.js +2 -2
  140. package/dist/Fx/combinators/tapEffect.d.ts +1 -1
  141. package/dist/Fx/combinators/tapEffect.js +1 -1
  142. package/dist/Fx/combinators/throttle.d.ts +3 -3
  143. package/dist/Fx/combinators/throttle.d.ts.map +1 -1
  144. package/dist/Fx/combinators/throttle.js +1 -1
  145. package/dist/Fx/combinators/timeout.d.ts +2 -2
  146. package/dist/Fx/combinators/timeout.js +2 -2
  147. package/dist/Fx/combinators/tuple.d.ts +2 -2
  148. package/dist/Fx/combinators/tuple.js +2 -2
  149. package/dist/Fx/combinators/until.d.ts +1 -1
  150. package/dist/Fx/combinators/until.js +1 -1
  151. package/dist/Fx/combinators/unwrap.d.ts +1 -1
  152. package/dist/Fx/combinators/unwrap.js +1 -1
  153. package/dist/Fx/combinators/unwrapScoped.d.ts +1 -1
  154. package/dist/Fx/combinators/unwrapScoped.js +1 -1
  155. package/dist/Fx/combinators/when.d.ts +2 -2
  156. package/dist/Fx/combinators/when.js +2 -2
  157. package/dist/Fx/combinators/withLatestFrom.d.ts +2 -2
  158. package/dist/Fx/combinators/withLatestFrom.js +2 -2
  159. package/dist/Fx/combinators/withSpan.d.ts +1 -1
  160. package/dist/Fx/combinators/withSpan.js +1 -1
  161. package/dist/Fx/combinators/zip.d.ts +4 -4
  162. package/dist/Fx/combinators/zip.js +4 -4
  163. package/dist/Fx/constructors/at.d.ts +1 -1
  164. package/dist/Fx/constructors/at.js +1 -1
  165. package/dist/Fx/constructors/die.d.ts +1 -1
  166. package/dist/Fx/constructors/die.js +1 -1
  167. package/dist/Fx/constructors/empty.d.ts +1 -1
  168. package/dist/Fx/constructors/empty.js +1 -1
  169. package/dist/Fx/constructors/fail.d.ts +1 -1
  170. package/dist/Fx/constructors/fail.js +1 -1
  171. package/dist/Fx/constructors/failCause.d.ts +1 -1
  172. package/dist/Fx/constructors/failCause.js +1 -1
  173. package/dist/Fx/constructors/fn.d.ts +4 -4
  174. package/dist/Fx/constructors/fn.js +1 -1
  175. package/dist/Fx/constructors/fromEffect.d.ts +2 -2
  176. package/dist/Fx/constructors/fromEffect.js +2 -2
  177. package/dist/Fx/constructors/fromFailures.d.ts +1 -1
  178. package/dist/Fx/constructors/fromFailures.js +1 -1
  179. package/dist/Fx/constructors/fromIterable.d.ts +1 -1
  180. package/dist/Fx/constructors/fromIterable.js +1 -1
  181. package/dist/Fx/constructors/fromSchedule.d.ts +6 -4
  182. package/dist/Fx/constructors/fromSchedule.d.ts.map +1 -1
  183. package/dist/Fx/constructors/fromSchedule.js +6 -4
  184. package/dist/Fx/constructors/interrupt.d.ts +1 -1
  185. package/dist/Fx/constructors/interrupt.js +1 -1
  186. package/dist/Fx/constructors/make.d.ts +9 -7
  187. package/dist/Fx/constructors/make.d.ts.map +1 -1
  188. package/dist/Fx/constructors/make.js +8 -6
  189. package/dist/Fx/constructors/periodic.d.ts +1 -1
  190. package/dist/Fx/constructors/periodic.js +1 -1
  191. package/dist/Fx/constructors/succeed.d.ts +4 -4
  192. package/dist/Fx/constructors/succeed.js +4 -4
  193. package/dist/Fx/constructors/suspend.d.ts +1 -1
  194. package/dist/Fx/constructors/suspend.js +1 -1
  195. package/dist/Fx/constructors/sync.d.ts +1 -1
  196. package/dist/Fx/constructors/sync.js +1 -1
  197. package/dist/Fx/run/collect.d.ts +4 -4
  198. package/dist/Fx/run/collect.js +4 -4
  199. package/dist/Fx/run/first.d.ts +1 -1
  200. package/dist/Fx/run/first.js +1 -1
  201. package/dist/Fx/run/fork.d.ts +2 -2
  202. package/dist/Fx/run/fork.js +2 -2
  203. package/dist/Fx/run/observe.d.ts +7 -5
  204. package/dist/Fx/run/observe.d.ts.map +1 -1
  205. package/dist/Fx/run/observe.js +30 -15
  206. package/dist/Fx/run/runPromise.d.ts +2 -2
  207. package/dist/Fx/run/runPromise.js +2 -2
  208. package/dist/Fx/stream.d.ts +4 -4
  209. package/dist/Fx/stream.js +2 -2
  210. package/dist/Push/Push.d.ts +30 -30
  211. package/dist/Push/Push.js +26 -26
  212. package/dist/RefSubject/Hydration.d.ts +24 -24
  213. package/dist/RefSubject/Hydration.js +5 -5
  214. package/dist/RefSubject/RefArray.d.ts +31 -31
  215. package/dist/RefSubject/RefArray.js +30 -30
  216. package/dist/RefSubject/RefBigDecimal.d.ts +20 -20
  217. package/dist/RefSubject/RefBigDecimal.js +19 -19
  218. package/dist/RefSubject/RefBigInt.d.ts +15 -15
  219. package/dist/RefSubject/RefBigInt.js +14 -14
  220. package/dist/RefSubject/RefBoolean.d.ts +15 -15
  221. package/dist/RefSubject/RefBoolean.js +14 -14
  222. package/dist/RefSubject/RefCause.d.ts +11 -11
  223. package/dist/RefSubject/RefCause.js +10 -10
  224. package/dist/RefSubject/RefChunk.d.ts +37 -37
  225. package/dist/RefSubject/RefChunk.js +36 -36
  226. package/dist/RefSubject/RefDateTime.d.ts +11 -11
  227. package/dist/RefSubject/RefDateTime.js +10 -10
  228. package/dist/RefSubject/RefDuration.d.ts +14 -14
  229. package/dist/RefSubject/RefDuration.js +13 -13
  230. package/dist/RefSubject/RefGraph.d.ts +29 -29
  231. package/dist/RefSubject/RefGraph.js +28 -28
  232. package/dist/RefSubject/RefHashMap.d.ts +27 -27
  233. package/dist/RefSubject/RefHashMap.js +26 -26
  234. package/dist/RefSubject/RefHashRing.d.ts +13 -13
  235. package/dist/RefSubject/RefHashRing.js +12 -12
  236. package/dist/RefSubject/RefHashSet.d.ts +21 -21
  237. package/dist/RefSubject/RefHashSet.js +20 -20
  238. package/dist/RefSubject/RefIterable.d.ts +30 -30
  239. package/dist/RefSubject/RefIterable.js +29 -29
  240. package/dist/RefSubject/RefOption.d.ts +13 -13
  241. package/dist/RefSubject/RefOption.js +12 -12
  242. package/dist/RefSubject/RefRecord.d.ts +31 -31
  243. package/dist/RefSubject/RefRecord.js +30 -30
  244. package/dist/RefSubject/RefResult.d.ts +12 -12
  245. package/dist/RefSubject/RefResult.js +11 -11
  246. package/dist/RefSubject/RefString.d.ts +17 -17
  247. package/dist/RefSubject/RefString.js +16 -16
  248. package/dist/RefSubject/RefStruct.d.ts +13 -13
  249. package/dist/RefSubject/RefStruct.js +12 -12
  250. package/dist/RefSubject/RefSubject.d.ts +93 -94
  251. package/dist/RefSubject/RefSubject.d.ts.map +1 -1
  252. package/dist/RefSubject/RefSubject.js +132 -77
  253. package/dist/RefSubject/RefTrie.d.ts +26 -26
  254. package/dist/RefSubject/RefTrie.js +25 -25
  255. package/dist/RefSubject/RefTuple.d.ts +11 -11
  256. package/dist/RefSubject/RefTuple.js +9 -9
  257. package/dist/Sink/Sink.d.ts +21 -19
  258. package/dist/Sink/Sink.d.ts.map +1 -1
  259. package/dist/Sink/Sink.js +5 -4
  260. package/dist/Sink/combinators.d.ts +33 -33
  261. package/dist/Sink/combinators.js +32 -32
  262. package/dist/Subject/Subject.d.ts +14 -13
  263. package/dist/Subject/Subject.d.ts.map +1 -1
  264. package/dist/Subject/Subject.js +11 -10
  265. package/dist/Versioned/Versioned.d.ts +31 -28
  266. package/dist/Versioned/Versioned.d.ts.map +1 -1
  267. package/dist/Versioned/Versioned.js +45 -37
  268. package/package.json +2 -1
@@ -34,7 +34,7 @@ const isRefStringDataFirst = (args) => RefSubject.isRefSubject(args[0]);
34
34
  * ```
35
35
  *
36
36
  * @since 1.18.0
37
- * @category constructors
37
+ * @category Constructors
38
38
  */
39
39
  export function make(initial, eq = Equivalence_.strictEqual()) {
40
40
  return RefSubject.make(initial, { eq });
@@ -56,7 +56,7 @@ export function make(initial, eq = Equivalence_.strictEqual()) {
56
56
  * observation follows later pushes and its observing Scope owns subscription cleanup.
57
57
  *
58
58
  * @since 1.18.0
59
- * @category computed
59
+ * @category Derived queries
60
60
  */
61
61
  export const concat = dual(2, function concat(ref, that) {
62
62
  return RefSubject.map(ref, (self) => String_.concat(self, that));
@@ -75,7 +75,7 @@ export const concat = dual(2, function concat(ref, that) {
75
75
  * observation follows later pushes and its observing Scope owns subscription cleanup.
76
76
  *
77
77
  * @since 1.18.0
78
- * @category computed
78
+ * @category Derived queries
79
79
  */
80
80
  export const toUpperCase = (ref) => RefSubject.map(ref, String_.toUpperCase);
81
81
  /**
@@ -92,7 +92,7 @@ export const toUpperCase = (ref) => RefSubject.map(ref, String_.toUpperCase);
92
92
  * observation follows later pushes and its observing Scope owns subscription cleanup.
93
93
  *
94
94
  * @since 1.18.0
95
- * @category computed
95
+ * @category Derived queries
96
96
  */
97
97
  export const toLowerCase = (ref) => RefSubject.map(ref, String_.toLowerCase);
98
98
  /**
@@ -109,7 +109,7 @@ export const toLowerCase = (ref) => RefSubject.map(ref, String_.toLowerCase);
109
109
  * observation follows later pushes and its observing Scope owns subscription cleanup.
110
110
  *
111
111
  * @since 1.18.0
112
- * @category computed
112
+ * @category Derived queries
113
113
  */
114
114
  export const trim = (ref) => RefSubject.map(ref, String_.trim);
115
115
  /**
@@ -126,7 +126,7 @@ export const trim = (ref) => RefSubject.map(ref, String_.trim);
126
126
  * observation follows later pushes and its observing Scope owns subscription cleanup.
127
127
  *
128
128
  * @since 1.18.0
129
- * @category computed
129
+ * @category Derived queries
130
130
  */
131
131
  export const trimStart = (ref) => RefSubject.map(ref, String_.trimStart);
132
132
  /**
@@ -143,7 +143,7 @@ export const trimStart = (ref) => RefSubject.map(ref, String_.trimStart);
143
143
  * observation follows later pushes and its observing Scope owns subscription cleanup.
144
144
  *
145
145
  * @since 1.18.0
146
- * @category computed
146
+ * @category Derived queries
147
147
  */
148
148
  export const trimEnd = (ref) => RefSubject.map(ref, String_.trimEnd);
149
149
  /**
@@ -160,7 +160,7 @@ export const trimEnd = (ref) => RefSubject.map(ref, String_.trimEnd);
160
160
  * observation follows later pushes and its observing Scope owns subscription cleanup.
161
161
  *
162
162
  * @since 1.18.0
163
- * @category computed
163
+ * @category Derived queries
164
164
  */
165
165
  export const replace = dual(3, function replace(ref, searchValue, replaceValue) {
166
166
  return RefSubject.map(ref, String_.replace(searchValue, replaceValue));
@@ -179,7 +179,7 @@ export const replace = dual(3, function replace(ref, searchValue, replaceValue)
179
179
  * observation follows later pushes and its observing Scope owns subscription cleanup.
180
180
  *
181
181
  * @since 1.18.0
182
- * @category computed
182
+ * @category Derived queries
183
183
  */
184
184
  export const replaceAll = dual(3, function replaceAll(ref, searchValue, replaceValue) {
185
185
  return RefSubject.map(ref, String_.replaceAll(searchValue, replaceValue));
@@ -198,7 +198,7 @@ export const replaceAll = dual(3, function replaceAll(ref, searchValue, replaceV
198
198
  * observation follows later pushes and its observing Scope owns subscription cleanup.
199
199
  *
200
200
  * @since 1.18.0
201
- * @category computed
201
+ * @category State predicates
202
202
  */
203
203
  export const isEmpty = (ref) => RefSubject.map(ref, String_.isEmpty);
204
204
  /**
@@ -215,7 +215,7 @@ export const isEmpty = (ref) => RefSubject.map(ref, String_.isEmpty);
215
215
  * observation follows later pushes and its observing Scope owns subscription cleanup.
216
216
  *
217
217
  * @since 1.18.0
218
- * @category computed
218
+ * @category State predicates
219
219
  */
220
220
  export const isNonEmpty = (ref) => RefSubject.map(ref, String_.isNonEmpty);
221
221
  /**
@@ -232,7 +232,7 @@ export const isNonEmpty = (ref) => RefSubject.map(ref, String_.isNonEmpty);
232
232
  * observation follows later pushes and its observing Scope owns subscription cleanup.
233
233
  *
234
234
  * @since 1.18.0
235
- * @category computed
235
+ * @category Derived queries
236
236
  */
237
237
  export const length = (ref) => RefSubject.map(ref, String_.length);
238
238
  /**
@@ -249,7 +249,7 @@ export const length = (ref) => RefSubject.map(ref, String_.length);
249
249
  * observation follows later pushes and its observing Scope owns subscription cleanup.
250
250
  *
251
251
  * @since 1.18.0
252
- * @category computed
252
+ * @category Derived queries
253
253
  */
254
254
  export const startsWith = dual(isRefStringDataFirst, function startsWith(ref, searchString, position) {
255
255
  return RefSubject.map(ref, String_.startsWith(searchString, position));
@@ -268,7 +268,7 @@ export const startsWith = dual(isRefStringDataFirst, function startsWith(ref, se
268
268
  * observation follows later pushes and its observing Scope owns subscription cleanup.
269
269
  *
270
270
  * @since 1.18.0
271
- * @category computed
271
+ * @category Derived queries
272
272
  */
273
273
  export const endsWith = dual(isRefStringDataFirst, function endsWith(ref, searchString, position) {
274
274
  return RefSubject.map(ref, String_.endsWith(searchString, position));
@@ -287,7 +287,7 @@ export const endsWith = dual(isRefStringDataFirst, function endsWith(ref, search
287
287
  * observation follows later pushes and its observing Scope owns subscription cleanup.
288
288
  *
289
289
  * @since 1.18.0
290
- * @category computed
290
+ * @category Derived queries
291
291
  */
292
292
  export const includes = dual(isRefStringDataFirst, function includes(ref, searchString, position) {
293
293
  return RefSubject.map(ref, String_.includes(searchString, position));
@@ -306,7 +306,7 @@ export const includes = dual(isRefStringDataFirst, function includes(ref, search
306
306
  * observation follows later pushes and its observing Scope owns subscription cleanup.
307
307
  *
308
308
  * @since 1.18.0
309
- * @category computed
309
+ * @category Derived queries
310
310
  */
311
311
  export const slice = dual(isRefStringDataFirst, function slice(ref, start, end) {
312
312
  return RefSubject.map(ref, String_.slice(start, end));
@@ -21,7 +21,7 @@ import * as RefSubject from "./RefSubject.js";
21
21
  * services, interruption, and Scope requirements expressed by its members.
22
22
  *
23
23
  * @since 1.18.0
24
- * @category models
24
+ * @category State models
25
25
  */
26
26
  export interface RefStruct<in out S extends object, in out E = never, out R = never> extends RefSubject.RefSubject<S, E, R> {
27
27
  }
@@ -52,7 +52,7 @@ export interface RefStruct<in out S extends object, in out E = never, out R = ne
52
52
  * ```
53
53
  *
54
54
  * @since 1.18.0
55
- * @category constructors
55
+ * @category Constructors
56
56
  */
57
57
  export declare function make<S extends object, E = never, R = never>(initial: S | Effect.Effect<S, E, R> | Fx.Fx<S, E, R>, eq?: Equivalence<S>): Effect.Effect<RefStruct<S, E>, never, R | Scope.Scope>;
58
58
  /**
@@ -69,7 +69,7 @@ export declare function make<S extends object, E = never, R = never>(initial: S
69
69
  * acquires no resource; failures and services remain those of the source ref.
70
70
  *
71
71
  * @since 1.18.0
72
- * @category combinators
72
+ * @category State updates
73
73
  */
74
74
  export declare const set: {
75
75
  <S extends object, K extends keyof S>(key: K, value: S[K]): <E, R>(ref: RefStruct<S, E, R>) => Effect.Effect<S, E, R>;
@@ -89,7 +89,7 @@ export declare const set: {
89
89
  * It acquires no resource; failures and services remain those of the source ref.
90
90
  *
91
91
  * @since 1.18.0
92
- * @category combinators
92
+ * @category State updates
93
93
  */
94
94
  export declare const update: {
95
95
  <S extends object, K extends keyof S>(key: K, f: (value: S[K]) => S[K]): <E, R>(ref: RefStruct<S, E, R>) => Effect.Effect<S, E, R>;
@@ -109,7 +109,7 @@ export declare const update: {
109
109
  * It acquires no resource; failures and services remain those of the source ref.
110
110
  *
111
111
  * @since 1.18.0
112
- * @category combinators
112
+ * @category State updates
113
113
  */
114
114
  export declare const merge: {
115
115
  <O extends object>(that: O): <S extends object, E, R>(ref: RefStruct<S, E, R>) => Effect.Effect<S, E, R>;
@@ -129,7 +129,7 @@ export declare const merge: {
129
129
  * observation follows later pushes and its observing Scope owns subscription cleanup.
130
130
  *
131
131
  * @since 1.18.0
132
- * @category computed
132
+ * @category Derived queries
133
133
  */
134
134
  export declare const pick: {
135
135
  <S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Pick<S, Keys[number]>, E, R>;
@@ -149,7 +149,7 @@ export declare const pick: {
149
149
  * observation follows later pushes and its observing Scope owns subscription cleanup.
150
150
  *
151
151
  * @since 1.18.0
152
- * @category computed
152
+ * @category Derived queries
153
153
  */
154
154
  export declare const omit: {
155
155
  <S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Omit<S, Keys[number]>, E, R>;
@@ -181,7 +181,7 @@ export declare const omit: {
181
181
  * ```
182
182
  *
183
183
  * @since 1.18.0
184
- * @category computed
184
+ * @category Derived queries
185
185
  */
186
186
  export declare const get: {
187
187
  <S extends object, const K extends keyof S>(key: K): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<S[K], E, R>;
@@ -201,7 +201,7 @@ export declare const get: {
201
201
  * observation follows later pushes and its observing Scope owns subscription cleanup.
202
202
  *
203
203
  * @since 1.18.0
204
- * @category computed
204
+ * @category Derived queries
205
205
  */
206
206
  export declare const keys: <S extends object, E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Array<keyof S & string>, E, R>;
207
207
  /**
@@ -218,7 +218,7 @@ export declare const keys: <S extends object, E, R>(ref: RefStruct<S, E, R>) =>
218
218
  * observation follows later pushes and its observing Scope owns subscription cleanup.
219
219
  *
220
220
  * @since 1.18.0
221
- * @category computed
221
+ * @category Derived queries
222
222
  */
223
223
  export declare const values: <S extends object, E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Array<S[keyof S]>, E, R>;
224
224
  /**
@@ -235,7 +235,7 @@ export declare const values: <S extends object, E, R>(ref: RefStruct<S, E, R>) =
235
235
  * observation follows later pushes and its observing Scope owns subscription cleanup.
236
236
  *
237
237
  * @since 1.18.0
238
- * @category computed
238
+ * @category Derived queries
239
239
  */
240
240
  export declare const entries: <S extends object, E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Array<[keyof S, S[keyof S]]>, E, R>;
241
241
  /**
@@ -252,7 +252,7 @@ export declare const entries: <S extends object, E, R>(ref: RefStruct<S, E, R>)
252
252
  * observation follows later pushes and its observing Scope owns subscription cleanup.
253
253
  *
254
254
  * @since 1.18.0
255
- * @category computed
255
+ * @category State predicates
256
256
  */
257
257
  export declare const has: {
258
258
  <S extends object, const K extends keyof S>(key: K): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -272,7 +272,7 @@ export declare const has: {
272
272
  * observation follows later pushes and its observing Scope owns subscription cleanup.
273
273
  *
274
274
  * @since 1.18.0
275
- * @category computed
275
+ * @category Derived queries
276
276
  */
277
277
  export declare const size: <S extends object, E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<number, E, R>;
278
278
  //# sourceMappingURL=RefStruct.d.ts.map
@@ -34,7 +34,7 @@ import * as RefSubject from "./RefSubject.js";
34
34
  * ```
35
35
  *
36
36
  * @since 1.18.0
37
- * @category constructors
37
+ * @category Constructors
38
38
  */
39
39
  export function make(initial, eq = Equivalence_.make((a, b) => equals(a, b))) {
40
40
  return RefSubject.make(initial, { eq });
@@ -53,7 +53,7 @@ export function make(initial, eq = Equivalence_.make((a, b) => equals(a, b))) {
53
53
  * acquires no resource; failures and services remain those of the source ref.
54
54
  *
55
55
  * @since 1.18.0
56
- * @category combinators
56
+ * @category State updates
57
57
  */
58
58
  export const set = dual(3, function set(ref, key, value) {
59
59
  return RefSubject.update(ref, (self) => Struct.assign(self, { [key]: value }));
@@ -72,7 +72,7 @@ export const set = dual(3, function set(ref, key, value) {
72
72
  * It acquires no resource; failures and services remain those of the source ref.
73
73
  *
74
74
  * @since 1.18.0
75
- * @category combinators
75
+ * @category State updates
76
76
  */
77
77
  export const update = dual(3, function update(ref, key, f) {
78
78
  return RefSubject.update(ref, (self) => Struct.evolve(self, { [key]: f }));
@@ -91,7 +91,7 @@ export const update = dual(3, function update(ref, key, f) {
91
91
  * It acquires no resource; failures and services remain those of the source ref.
92
92
  *
93
93
  * @since 1.18.0
94
- * @category combinators
94
+ * @category State updates
95
95
  */
96
96
  export const merge = dual(2, function merge(ref, that) {
97
97
  return RefSubject.update(ref, (self) => Struct.assign(self, that));
@@ -113,7 +113,7 @@ export const merge = dual(2, function merge(ref, that) {
113
113
  * observation follows later pushes and its observing Scope owns subscription cleanup.
114
114
  *
115
115
  * @since 1.18.0
116
- * @category computed
116
+ * @category Derived queries
117
117
  */
118
118
  export const pick = dual(2, function pick(ref, keys) {
119
119
  return RefSubject.map(ref, (self) => Struct.pick(self, keys));
@@ -132,7 +132,7 @@ export const pick = dual(2, function pick(ref, keys) {
132
132
  * observation follows later pushes and its observing Scope owns subscription cleanup.
133
133
  *
134
134
  * @since 1.18.0
135
- * @category computed
135
+ * @category Derived queries
136
136
  */
137
137
  export const omit = dual(2, function omit(ref, keys) {
138
138
  return RefSubject.map(ref, (self) => Struct.omit(self, keys));
@@ -163,7 +163,7 @@ export const omit = dual(2, function omit(ref, keys) {
163
163
  * ```
164
164
  *
165
165
  * @since 1.18.0
166
- * @category computed
166
+ * @category Derived queries
167
167
  */
168
168
  export const get = dual(2, function get(ref, key) {
169
169
  return RefSubject.map(ref, (self) => Struct.get(self, key));
@@ -182,7 +182,7 @@ export const get = dual(2, function get(ref, key) {
182
182
  * observation follows later pushes and its observing Scope owns subscription cleanup.
183
183
  *
184
184
  * @since 1.18.0
185
- * @category computed
185
+ * @category Derived queries
186
186
  */
187
187
  export const keys = (ref) => RefSubject.map(ref, Struct.keys);
188
188
  /**
@@ -199,7 +199,7 @@ export const keys = (ref) => RefSubject.map(ref, Struct.keys);
199
199
  * observation follows later pushes and its observing Scope owns subscription cleanup.
200
200
  *
201
201
  * @since 1.18.0
202
- * @category computed
202
+ * @category Derived queries
203
203
  */
204
204
  export const values = (ref) => RefSubject.map(ref, (self) => Object.values(self));
205
205
  /**
@@ -216,7 +216,7 @@ export const values = (ref) => RefSubject.map(ref, (self) => Object.values(self)
216
216
  * observation follows later pushes and its observing Scope owns subscription cleanup.
217
217
  *
218
218
  * @since 1.18.0
219
- * @category computed
219
+ * @category Derived queries
220
220
  */
221
221
  export const entries = (ref) => RefSubject.map(ref, (self) => Object.entries(self));
222
222
  /**
@@ -233,7 +233,7 @@ export const entries = (ref) => RefSubject.map(ref, (self) => Object.entries(sel
233
233
  * observation follows later pushes and its observing Scope owns subscription cleanup.
234
234
  *
235
235
  * @since 1.18.0
236
- * @category computed
236
+ * @category State predicates
237
237
  */
238
238
  export const has = dual(2, function has(ref, key) {
239
239
  return RefSubject.map(ref, (self) => key in self);
@@ -252,6 +252,6 @@ export const has = dual(2, function has(ref, key) {
252
252
  * observation follows later pushes and its observing Scope owns subscription cleanup.
253
253
  *
254
254
  * @since 1.18.0
255
- * @category computed
255
+ * @category Derived queries
256
256
  */
257
257
  export const size = (ref) => RefSubject.map(ref, (self) => Object.keys(self).length);