@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.
Files changed (270) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/dist/Fx/Fx.d.ts +9 -9
  4. package/dist/Fx/Fx.js +1 -1
  5. package/dist/Fx/TypeId.d.ts +3 -3
  6. package/dist/Fx/TypeId.js +2 -2
  7. package/dist/Fx/combinators/additive.d.ts +6 -6
  8. package/dist/Fx/combinators/additive.js +6 -6
  9. package/dist/Fx/combinators/catch.d.ts +7 -7
  10. package/dist/Fx/combinators/catch.js +7 -7
  11. package/dist/Fx/combinators/causes.d.ts +1 -1
  12. package/dist/Fx/combinators/causes.js +1 -1
  13. package/dist/Fx/combinators/changesWithEffect.d.ts +1 -1
  14. package/dist/Fx/combinators/changesWithEffect.js +1 -1
  15. package/dist/Fx/combinators/compact.d.ts +1 -1
  16. package/dist/Fx/combinators/compact.js +1 -1
  17. package/dist/Fx/combinators/concatMap.d.ts +2 -2
  18. package/dist/Fx/combinators/concatMap.js +2 -2
  19. package/dist/Fx/combinators/continueWith.d.ts +4 -4
  20. package/dist/Fx/combinators/continueWith.js +4 -4
  21. package/dist/Fx/combinators/debounce.d.ts +2 -2
  22. package/dist/Fx/combinators/debounce.d.ts.map +1 -1
  23. package/dist/Fx/combinators/debounce.js +1 -1
  24. package/dist/Fx/combinators/delay.d.ts +9 -7
  25. package/dist/Fx/combinators/delay.d.ts.map +1 -1
  26. package/dist/Fx/combinators/delay.js +8 -6
  27. package/dist/Fx/combinators/dropUntil.d.ts +2 -2
  28. package/dist/Fx/combinators/dropUntil.js +2 -2
  29. package/dist/Fx/combinators/during.d.ts +1 -1
  30. package/dist/Fx/combinators/during.js +1 -1
  31. package/dist/Fx/combinators/ensuring.d.ts +1 -1
  32. package/dist/Fx/combinators/ensuring.js +1 -1
  33. package/dist/Fx/combinators/exhaustLatestMap.d.ts +1 -1
  34. package/dist/Fx/combinators/exhaustLatestMap.js +1 -1
  35. package/dist/Fx/combinators/exhaustLatestMapEffect.d.ts +1 -1
  36. package/dist/Fx/combinators/exhaustLatestMapEffect.js +1 -1
  37. package/dist/Fx/combinators/exhaustMap.d.ts +1 -1
  38. package/dist/Fx/combinators/exhaustMap.js +1 -1
  39. package/dist/Fx/combinators/exhaustMapEffect.d.ts +1 -1
  40. package/dist/Fx/combinators/exhaustMapEffect.js +1 -1
  41. package/dist/Fx/combinators/exit.d.ts +1 -1
  42. package/dist/Fx/combinators/exit.js +1 -1
  43. package/dist/Fx/combinators/filter.d.ts +1 -1
  44. package/dist/Fx/combinators/filter.js +1 -1
  45. package/dist/Fx/combinators/filterEffect.d.ts +1 -1
  46. package/dist/Fx/combinators/filterEffect.js +1 -1
  47. package/dist/Fx/combinators/filterMap.d.ts +1 -1
  48. package/dist/Fx/combinators/filterMap.js +1 -1
  49. package/dist/Fx/combinators/filterMapEffect.d.ts +1 -1
  50. package/dist/Fx/combinators/filterMapEffect.js +1 -1
  51. package/dist/Fx/combinators/filterMapLoop.d.ts +1 -1
  52. package/dist/Fx/combinators/filterMapLoop.js +1 -1
  53. package/dist/Fx/combinators/filterMapLoopCause.d.ts +1 -1
  54. package/dist/Fx/combinators/filterMapLoopCause.js +1 -1
  55. package/dist/Fx/combinators/filterMapLoopCauseEffect.d.ts +1 -1
  56. package/dist/Fx/combinators/filterMapLoopCauseEffect.js +1 -1
  57. package/dist/Fx/combinators/filterMapLoopEffect.d.ts +1 -1
  58. package/dist/Fx/combinators/filterMapLoopEffect.js +1 -1
  59. package/dist/Fx/combinators/flatMap.d.ts +2 -2
  60. package/dist/Fx/combinators/flatMap.js +1 -1
  61. package/dist/Fx/combinators/flatMapConcurrently.d.ts +1 -1
  62. package/dist/Fx/combinators/flatMapConcurrently.js +1 -1
  63. package/dist/Fx/combinators/flatMapConcurrentlyEffect.d.ts +1 -1
  64. package/dist/Fx/combinators/flatMapConcurrentlyEffect.js +1 -1
  65. package/dist/Fx/combinators/flatMapEffect.d.ts +2 -2
  66. package/dist/Fx/combinators/flatMapEffect.js +1 -1
  67. package/dist/Fx/combinators/flip.d.ts +1 -1
  68. package/dist/Fx/combinators/flip.js +1 -1
  69. package/dist/Fx/combinators/gen.d.ts +1 -1
  70. package/dist/Fx/combinators/gen.js +1 -1
  71. package/dist/Fx/combinators/genScoped.d.ts +1 -1
  72. package/dist/Fx/combinators/genScoped.js +1 -1
  73. package/dist/Fx/combinators/grouped.d.ts +2 -2
  74. package/dist/Fx/combinators/grouped.js +2 -2
  75. package/dist/Fx/combinators/keyed.d.ts +2 -2
  76. package/dist/Fx/combinators/keyed.js +1 -1
  77. package/dist/Fx/combinators/loop.d.ts +1 -1
  78. package/dist/Fx/combinators/loop.js +1 -1
  79. package/dist/Fx/combinators/loopCause.d.ts +1 -1
  80. package/dist/Fx/combinators/loopCause.js +1 -1
  81. package/dist/Fx/combinators/loopCauseEffect.d.ts +1 -1
  82. package/dist/Fx/combinators/loopCauseEffect.js +1 -1
  83. package/dist/Fx/combinators/loopEffect.d.ts +1 -1
  84. package/dist/Fx/combinators/loopEffect.js +1 -1
  85. package/dist/Fx/combinators/map.d.ts +2 -2
  86. package/dist/Fx/combinators/map.js +2 -2
  87. package/dist/Fx/combinators/mapBoth.d.ts +1 -1
  88. package/dist/Fx/combinators/mapBoth.js +1 -1
  89. package/dist/Fx/combinators/mapEffect.d.ts +1 -1
  90. package/dist/Fx/combinators/mapEffect.js +1 -1
  91. package/dist/Fx/combinators/mapError.d.ts +1 -1
  92. package/dist/Fx/combinators/mapError.js +1 -1
  93. package/dist/Fx/combinators/mergeAll.d.ts +1 -1
  94. package/dist/Fx/combinators/mergeAll.js +1 -1
  95. package/dist/Fx/combinators/mergeOrdered.d.ts +1 -1
  96. package/dist/Fx/combinators/mergeOrdered.d.ts.map +1 -1
  97. package/dist/Fx/combinators/mergeOrdered.js +33 -11
  98. package/dist/Fx/combinators/onError.d.ts +1 -1
  99. package/dist/Fx/combinators/onError.js +1 -1
  100. package/dist/Fx/combinators/onExit.d.ts +1 -1
  101. package/dist/Fx/combinators/onExit.js +1 -1
  102. package/dist/Fx/combinators/onInterrupt.d.ts +1 -1
  103. package/dist/Fx/combinators/onInterrupt.js +1 -1
  104. package/dist/Fx/combinators/pairwise.d.ts +1 -1
  105. package/dist/Fx/combinators/pairwise.js +1 -1
  106. package/dist/Fx/combinators/provide.d.ts +4 -4
  107. package/dist/Fx/combinators/provide.js +4 -4
  108. package/dist/Fx/combinators/race.d.ts +2 -2
  109. package/dist/Fx/combinators/race.js +2 -2
  110. package/dist/Fx/combinators/repeat.d.ts +1 -1
  111. package/dist/Fx/combinators/repeat.js +1 -1
  112. package/dist/Fx/combinators/result.d.ts +1 -1
  113. package/dist/Fx/combinators/result.js +1 -1
  114. package/dist/Fx/combinators/retry.d.ts +1 -1
  115. package/dist/Fx/combinators/retry.js +1 -1
  116. package/dist/Fx/combinators/sample.d.ts +1 -1
  117. package/dist/Fx/combinators/sample.js +1 -1
  118. package/dist/Fx/combinators/scan.d.ts +2 -2
  119. package/dist/Fx/combinators/scan.js +2 -2
  120. package/dist/Fx/combinators/since.d.ts +1 -1
  121. package/dist/Fx/combinators/since.js +1 -1
  122. package/dist/Fx/combinators/skip.d.ts +2 -2
  123. package/dist/Fx/combinators/skip.js +2 -2
  124. package/dist/Fx/combinators/skipRepeats.d.ts +1 -1
  125. package/dist/Fx/combinators/skipRepeats.js +1 -1
  126. package/dist/Fx/combinators/skipRepeatsWith.d.ts +1 -1
  127. package/dist/Fx/combinators/skipRepeatsWith.js +1 -1
  128. package/dist/Fx/combinators/skipWhile.d.ts +4 -4
  129. package/dist/Fx/combinators/skipWhile.js +4 -4
  130. package/dist/Fx/combinators/slice.d.ts +3 -3
  131. package/dist/Fx/combinators/slice.js +2 -2
  132. package/dist/Fx/combinators/switchMap.d.ts +1 -1
  133. package/dist/Fx/combinators/switchMap.js +1 -1
  134. package/dist/Fx/combinators/switchMapEffect.d.ts +1 -1
  135. package/dist/Fx/combinators/switchMapEffect.js +1 -1
  136. package/dist/Fx/combinators/take.d.ts +2 -2
  137. package/dist/Fx/combinators/take.js +2 -2
  138. package/dist/Fx/combinators/takeUntil.d.ts +3 -3
  139. package/dist/Fx/combinators/takeUntil.js +3 -3
  140. package/dist/Fx/combinators/takeWhile.d.ts +2 -2
  141. package/dist/Fx/combinators/takeWhile.js +2 -2
  142. package/dist/Fx/combinators/tapEffect.d.ts +1 -1
  143. package/dist/Fx/combinators/tapEffect.js +1 -1
  144. package/dist/Fx/combinators/throttle.d.ts +3 -3
  145. package/dist/Fx/combinators/throttle.d.ts.map +1 -1
  146. package/dist/Fx/combinators/throttle.js +1 -1
  147. package/dist/Fx/combinators/timeout.d.ts +2 -2
  148. package/dist/Fx/combinators/timeout.js +2 -2
  149. package/dist/Fx/combinators/tuple.d.ts +2 -2
  150. package/dist/Fx/combinators/tuple.js +2 -2
  151. package/dist/Fx/combinators/until.d.ts +1 -1
  152. package/dist/Fx/combinators/until.js +1 -1
  153. package/dist/Fx/combinators/unwrap.d.ts +1 -1
  154. package/dist/Fx/combinators/unwrap.js +1 -1
  155. package/dist/Fx/combinators/unwrapScoped.d.ts +1 -1
  156. package/dist/Fx/combinators/unwrapScoped.js +1 -1
  157. package/dist/Fx/combinators/when.d.ts +2 -2
  158. package/dist/Fx/combinators/when.js +2 -2
  159. package/dist/Fx/combinators/withLatestFrom.d.ts +2 -2
  160. package/dist/Fx/combinators/withLatestFrom.js +2 -2
  161. package/dist/Fx/combinators/withSpan.d.ts +1 -1
  162. package/dist/Fx/combinators/withSpan.js +1 -1
  163. package/dist/Fx/combinators/zip.d.ts +4 -4
  164. package/dist/Fx/combinators/zip.js +4 -4
  165. package/dist/Fx/constructors/at.d.ts +1 -1
  166. package/dist/Fx/constructors/at.js +1 -1
  167. package/dist/Fx/constructors/die.d.ts +1 -1
  168. package/dist/Fx/constructors/die.js +1 -1
  169. package/dist/Fx/constructors/empty.d.ts +1 -1
  170. package/dist/Fx/constructors/empty.js +1 -1
  171. package/dist/Fx/constructors/fail.d.ts +1 -1
  172. package/dist/Fx/constructors/fail.js +1 -1
  173. package/dist/Fx/constructors/failCause.d.ts +1 -1
  174. package/dist/Fx/constructors/failCause.js +1 -1
  175. package/dist/Fx/constructors/fn.d.ts +4 -4
  176. package/dist/Fx/constructors/fn.js +1 -1
  177. package/dist/Fx/constructors/fromEffect.d.ts +2 -2
  178. package/dist/Fx/constructors/fromEffect.js +2 -2
  179. package/dist/Fx/constructors/fromFailures.d.ts +1 -1
  180. package/dist/Fx/constructors/fromFailures.js +1 -1
  181. package/dist/Fx/constructors/fromIterable.d.ts +1 -1
  182. package/dist/Fx/constructors/fromIterable.js +1 -1
  183. package/dist/Fx/constructors/fromSchedule.d.ts +6 -4
  184. package/dist/Fx/constructors/fromSchedule.d.ts.map +1 -1
  185. package/dist/Fx/constructors/fromSchedule.js +6 -4
  186. package/dist/Fx/constructors/interrupt.d.ts +1 -1
  187. package/dist/Fx/constructors/interrupt.js +1 -1
  188. package/dist/Fx/constructors/make.d.ts +9 -7
  189. package/dist/Fx/constructors/make.d.ts.map +1 -1
  190. package/dist/Fx/constructors/make.js +8 -6
  191. package/dist/Fx/constructors/periodic.d.ts +1 -1
  192. package/dist/Fx/constructors/periodic.js +1 -1
  193. package/dist/Fx/constructors/succeed.d.ts +4 -4
  194. package/dist/Fx/constructors/succeed.js +4 -4
  195. package/dist/Fx/constructors/suspend.d.ts +1 -1
  196. package/dist/Fx/constructors/suspend.js +1 -1
  197. package/dist/Fx/constructors/sync.d.ts +1 -1
  198. package/dist/Fx/constructors/sync.js +1 -1
  199. package/dist/Fx/run/collect.d.ts +4 -4
  200. package/dist/Fx/run/collect.js +4 -4
  201. package/dist/Fx/run/first.d.ts +1 -1
  202. package/dist/Fx/run/first.js +1 -1
  203. package/dist/Fx/run/fork.d.ts +2 -2
  204. package/dist/Fx/run/fork.js +2 -2
  205. package/dist/Fx/run/observe.d.ts +7 -5
  206. package/dist/Fx/run/observe.d.ts.map +1 -1
  207. package/dist/Fx/run/observe.js +30 -15
  208. package/dist/Fx/run/runPromise.d.ts +2 -2
  209. package/dist/Fx/run/runPromise.js +2 -2
  210. package/dist/Fx/stream.d.ts +4 -4
  211. package/dist/Fx/stream.js +2 -2
  212. package/dist/Push/Push.d.ts +30 -30
  213. package/dist/Push/Push.js +26 -26
  214. package/dist/RefSubject/Hydration.d.ts +24 -24
  215. package/dist/RefSubject/Hydration.js +5 -5
  216. package/dist/RefSubject/RefArray.d.ts +31 -31
  217. package/dist/RefSubject/RefArray.js +30 -30
  218. package/dist/RefSubject/RefBigDecimal.d.ts +20 -20
  219. package/dist/RefSubject/RefBigDecimal.js +19 -19
  220. package/dist/RefSubject/RefBigInt.d.ts +15 -15
  221. package/dist/RefSubject/RefBigInt.js +14 -14
  222. package/dist/RefSubject/RefBoolean.d.ts +15 -15
  223. package/dist/RefSubject/RefBoolean.js +14 -14
  224. package/dist/RefSubject/RefCause.d.ts +11 -11
  225. package/dist/RefSubject/RefCause.js +10 -10
  226. package/dist/RefSubject/RefChunk.d.ts +37 -37
  227. package/dist/RefSubject/RefChunk.js +36 -36
  228. package/dist/RefSubject/RefDateTime.d.ts +11 -11
  229. package/dist/RefSubject/RefDateTime.js +10 -10
  230. package/dist/RefSubject/RefDuration.d.ts +14 -14
  231. package/dist/RefSubject/RefDuration.js +13 -13
  232. package/dist/RefSubject/RefGraph.d.ts +29 -29
  233. package/dist/RefSubject/RefGraph.js +28 -28
  234. package/dist/RefSubject/RefHashMap.d.ts +27 -27
  235. package/dist/RefSubject/RefHashMap.js +26 -26
  236. package/dist/RefSubject/RefHashRing.d.ts +13 -13
  237. package/dist/RefSubject/RefHashRing.js +12 -12
  238. package/dist/RefSubject/RefHashSet.d.ts +21 -21
  239. package/dist/RefSubject/RefHashSet.js +20 -20
  240. package/dist/RefSubject/RefIterable.d.ts +30 -30
  241. package/dist/RefSubject/RefIterable.js +29 -29
  242. package/dist/RefSubject/RefOption.d.ts +13 -13
  243. package/dist/RefSubject/RefOption.js +12 -12
  244. package/dist/RefSubject/RefRecord.d.ts +31 -31
  245. package/dist/RefSubject/RefRecord.js +30 -30
  246. package/dist/RefSubject/RefResult.d.ts +12 -12
  247. package/dist/RefSubject/RefResult.js +11 -11
  248. package/dist/RefSubject/RefString.d.ts +17 -17
  249. package/dist/RefSubject/RefString.js +16 -16
  250. package/dist/RefSubject/RefStruct.d.ts +13 -13
  251. package/dist/RefSubject/RefStruct.js +12 -12
  252. package/dist/RefSubject/RefSubject.d.ts +93 -94
  253. package/dist/RefSubject/RefSubject.d.ts.map +1 -1
  254. package/dist/RefSubject/RefSubject.js +132 -77
  255. package/dist/RefSubject/RefTrie.d.ts +26 -26
  256. package/dist/RefSubject/RefTrie.js +25 -25
  257. package/dist/RefSubject/RefTuple.d.ts +11 -11
  258. package/dist/RefSubject/RefTuple.js +9 -9
  259. package/dist/Sink/Sink.d.ts +21 -19
  260. package/dist/Sink/Sink.d.ts.map +1 -1
  261. package/dist/Sink/Sink.js +5 -4
  262. package/dist/Sink/combinators.d.ts +33 -33
  263. package/dist/Sink/combinators.js +32 -32
  264. package/dist/Subject/Subject.d.ts +14 -13
  265. package/dist/Subject/Subject.d.ts.map +1 -1
  266. package/dist/Subject/Subject.js +11 -10
  267. package/dist/Versioned/Versioned.d.ts +31 -28
  268. package/dist/Versioned/Versioned.d.ts.map +1 -1
  269. package/dist/Versioned/Versioned.js +45 -37
  270. package/package.json +5 -4
@@ -22,7 +22,7 @@ import * as RefSubject from "./RefSubject.js";
22
22
  * 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 RefArray<in out A, in out E = never, out R = never> extends RefSubject.RefSubject<ReadonlyArray<A>, E, R> {
28
28
  }
@@ -63,7 +63,7 @@ export interface RefArray<in out A, in out E = never, out R = never> extends Ref
63
63
  * ```
64
64
  *
65
65
  * @since 1.18.0
66
- * @category constructors
66
+ * @category Constructors
67
67
  */
68
68
  export declare function make<A, E = never, R = never>(initial: ReadonlyArray<A> | Effect.Effect<ReadonlyArray<A>, E, R> | Fx.Fx<ReadonlyArray<A>, E, R>, eq?: Equivalence<A>): Effect.Effect<RefArray<A, E>, never, R | Scope.Scope>;
69
69
  /**
@@ -80,7 +80,7 @@ export declare function make<A, E = never, R = never>(initial: ReadonlyArray<A>
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 combinators
83
+ * @category State updates
84
84
  */
85
85
  export declare const prepend: {
86
86
  <A>(value: A): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -100,7 +100,7 @@ export declare const prepend: {
100
100
  * value. It acquires no resource; failures and services remain those of the source ref.
101
101
  *
102
102
  * @since 1.18.0
103
- * @category combinators
103
+ * @category State updates
104
104
  */
105
105
  export declare const prependAll: {
106
106
  <A>(value: Iterable<A>): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -120,7 +120,7 @@ export declare const prependAll: {
120
120
  * It acquires no resource; failures and services remain those of the source ref.
121
121
  *
122
122
  * @since 1.18.0
123
- * @category combinators
123
+ * @category State updates
124
124
  */
125
125
  export declare const append: {
126
126
  <A>(value: A): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -140,7 +140,7 @@ export declare const append: {
140
140
  * value. It acquires no resource; failures and services remain those of the source ref.
141
141
  *
142
142
  * @since 1.18.0
143
- * @category combinators
143
+ * @category State updates
144
144
  */
145
145
  export declare const appendAll: {
146
146
  <A>(value: Iterable<A>): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -160,7 +160,7 @@ export declare const appendAll: {
160
160
  * acquires no resource; failures and services remain those of the source ref.
161
161
  *
162
162
  * @since 1.18.0
163
- * @category combinators
163
+ * @category State updates
164
164
  */
165
165
  export declare const drop: {
166
166
  (n: number): <A, E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -180,7 +180,7 @@ export declare const drop: {
180
180
  * value. It acquires no resource; failures and services remain those of the source ref.
181
181
  *
182
182
  * @since 1.18.0
183
- * @category combinators
183
+ * @category State updates
184
184
  */
185
185
  export declare const dropRight: {
186
186
  (n: number): <A, E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -200,7 +200,7 @@ export declare const dropRight: {
200
200
  * value. It acquires no resource; failures and services remain those of the source ref.
201
201
  *
202
202
  * @since 1.18.0
203
- * @category combinators
203
+ * @category State updates
204
204
  */
205
205
  export declare const dropWhile: {
206
206
  <A>(predicate: (a: A) => boolean): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -220,7 +220,7 @@ export declare const dropWhile: {
220
220
  * observation follows later pushes and its observing Scope owns subscription cleanup.
221
221
  *
222
222
  * @since 1.18.0
223
- * @category computed
223
+ * @category Derived queries
224
224
  */
225
225
  export declare const filterValues: {
226
226
  <A>(predicate: (a: A) => boolean): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<ReadonlyArray<A>, E, R>;
@@ -240,7 +240,7 @@ export declare const filterValues: {
240
240
  * while absent; the observing Scope owns and finalizes its Fx subscription.
241
241
  *
242
242
  * @since 1.18.0
243
- * @category filtered
243
+ * @category Optional queries
244
244
  */
245
245
  export declare const getIndex: {
246
246
  (index: number): <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Filtered<A, E, R>;
@@ -260,7 +260,7 @@ export declare const getIndex: {
260
260
  * observation follows later pushes and its observing Scope owns subscription cleanup.
261
261
  *
262
262
  * @since 1.18.0
263
- * @category computed
263
+ * @category Derived queries
264
264
  */
265
265
  export declare const groupBy: {
266
266
  <A>(f: (a: A) => string): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<R, E, Record<string, ReadonlyArray<A>>>;
@@ -280,7 +280,7 @@ export declare const groupBy: {
280
280
  * value. It acquires no resource; failures and services remain those of the source ref.
281
281
  *
282
282
  * @since 1.18.0
283
- * @category combinators
283
+ * @category State updates
284
284
  */
285
285
  export declare const insertAt: {
286
286
  <A>(index: number, a: A): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -300,7 +300,7 @@ export declare const insertAt: {
300
300
  * observation follows later pushes and its observing Scope owns subscription cleanup.
301
301
  *
302
302
  * @since 1.18.0
303
- * @category computed
303
+ * @category State predicates
304
304
  */
305
305
  export declare const isEmpty: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<boolean, E, R>;
306
306
  /**
@@ -317,7 +317,7 @@ export declare const isEmpty: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Co
317
317
  * observation follows later pushes and its observing Scope owns subscription cleanup.
318
318
  *
319
319
  * @since 1.18.0
320
- * @category computed
320
+ * @category State predicates
321
321
  */
322
322
  export declare const isNonEmpty: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<boolean, E, R>;
323
323
  /**
@@ -334,7 +334,7 @@ export declare const isNonEmpty: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject
334
334
  * observation follows later pushes and its observing Scope owns subscription cleanup.
335
335
  *
336
336
  * @since 1.18.0
337
- * @category computed
337
+ * @category Derived queries
338
338
  */
339
339
  export declare const length: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<number, E, R>;
340
340
  /**
@@ -357,7 +357,7 @@ export declare const length: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Com
357
357
  * changing that signature or runtime behavior requires a separate compatibility decision.
358
358
  *
359
359
  * @since 1.18.0
360
- * @category combinators
360
+ * @category State updates
361
361
  */
362
362
  export declare const map: {
363
363
  <A>(f: (a: A, index: number) => A): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<ReadonlyArray<A>, E, R>;
@@ -377,7 +377,7 @@ export declare const map: {
377
377
  * observation follows later pushes and its observing Scope owns subscription cleanup.
378
378
  *
379
379
  * @since 1.18.0
380
- * @category computed
380
+ * @category Derived queries
381
381
  */
382
382
  export declare const mapValues: {
383
383
  <A, B>(f: (a: A, index: number) => B): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<ReadonlyArray<B>, E, R>;
@@ -397,7 +397,7 @@ export declare const mapValues: {
397
397
  * value. It acquires no resource; failures and services remain those of the source ref.
398
398
  *
399
399
  * @since 1.18.0
400
- * @category combinators
400
+ * @category State updates
401
401
  */
402
402
  export declare const modifyAt: {
403
403
  <A>(index: number, f: (a: A) => A): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -417,7 +417,7 @@ export declare const modifyAt: {
417
417
  * observation follows later pushes and its observing Scope owns subscription cleanup.
418
418
  *
419
419
  * @since 1.18.0
420
- * @category computed
420
+ * @category Derived queries
421
421
  */
422
422
  export declare const partition: {
423
423
  <A, B extends A>(predicate: (a: A) => a is B): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<R, E, readonly [ReadonlyArray<B>, ReadonlyArray<A>]>;
@@ -437,7 +437,7 @@ export declare const partition: {
437
437
  * observation follows later pushes and its observing Scope owns subscription cleanup.
438
438
  *
439
439
  * @since 1.18.0
440
- * @category computed
440
+ * @category Derived queries
441
441
  */
442
442
  export declare const reduce: {
443
443
  <A, B>(b: B, f: (b: B, a: A, index: number) => B): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<B, E, R>;
@@ -457,7 +457,7 @@ export declare const reduce: {
457
457
  * observation follows later pushes and its observing Scope owns subscription cleanup.
458
458
  *
459
459
  * @since 1.18.0
460
- * @category computed
460
+ * @category Derived queries
461
461
  */
462
462
  export declare const reduceRight: {
463
463
  <A, B>(b: B, f: (b: B, a: A, index: number) => B): <E, R>(ref: RefArray<A, E, R>) => RefSubject.Computed<B, E, R>;
@@ -477,7 +477,7 @@ export declare const reduceRight: {
477
477
  * value. It acquires no resource; failures and services remain those of the source ref.
478
478
  *
479
479
  * @since 1.18.0
480
- * @category combinators
480
+ * @category State updates
481
481
  */
482
482
  export declare const replaceAt: {
483
483
  <A>(index: number, a: A): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -497,7 +497,7 @@ export declare const replaceAt: {
497
497
  * It acquires no resource; failures and services remain those of the source ref.
498
498
  *
499
499
  * @since 1.18.0
500
- * @category combinators
500
+ * @category State updates
501
501
  */
502
502
  export declare const rotate: {
503
503
  (n: number): <A, E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -517,7 +517,7 @@ export declare const rotate: {
517
517
  * It acquires no resource; failures and services remain those of the source ref.
518
518
  *
519
519
  * @since 1.18.0
520
- * @category combinators
520
+ * @category State updates
521
521
  */
522
522
  export declare const sortBy: {
523
523
  <A>(orders: Iterable<Order.Order<A>>): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -537,7 +537,7 @@ export declare const sortBy: {
537
537
  * acquires no resource; failures and services remain those of the source ref.
538
538
  *
539
539
  * @since 1.18.0
540
- * @category combinators
540
+ * @category State updates
541
541
  */
542
542
  export declare const take: {
543
543
  (n: number): <A, E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -557,7 +557,7 @@ export declare const take: {
557
557
  * value. It acquires no resource; failures and services remain those of the source ref.
558
558
  *
559
559
  * @since 1.18.0
560
- * @category combinators
560
+ * @category State updates
561
561
  */
562
562
  export declare const takeRight: {
563
563
  (n: number): <A, E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -577,7 +577,7 @@ export declare const takeRight: {
577
577
  * value. It acquires no resource; failures and services remain those of the source ref.
578
578
  *
579
579
  * @since 1.18.0
580
- * @category combinators
580
+ * @category State updates
581
581
  */
582
582
  export declare const takeWhile: {
583
583
  <A>(predicate: (a: A) => boolean): <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
@@ -597,7 +597,7 @@ export declare const takeWhile: {
597
597
  * value. It acquires no resource; failures and services remain those of the source ref.
598
598
  *
599
599
  * @since 1.18.0
600
- * @category combinators
600
+ * @category State updates
601
601
  */
602
602
  export declare const dedupeWith: <A>(valueEq: Equivalence<A>) => <E, R>(ref: RefArray<A, E, R>) => Effect.Effect<ReadonlyArray<A>, E, R>;
603
603
  /**
@@ -633,7 +633,7 @@ export declare const dedupeWith: <A>(valueEq: Equivalence<A>) => <E, R>(ref: Ref
633
633
  * ```
634
634
  *
635
635
  * @since 1.18.0
636
- * @category filtered
636
+ * @category Optional queries
637
637
  */
638
638
  export declare const last: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Filtered<A, E, R>;
639
639
  /**
@@ -669,7 +669,7 @@ export declare const last: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Filte
669
669
  * ```
670
670
  *
671
671
  * @since 1.18.0
672
- * @category filtered
672
+ * @category Optional queries
673
673
  */
674
674
  export declare const head: <A, E, R>(ref: RefArray<A, E, R>) => RefSubject.Filtered<A, E, R>;
675
675
  //# sourceMappingURL=RefArray.d.ts.map
@@ -46,7 +46,7 @@ import { Result } from "effect";
46
46
  * ```
47
47
  *
48
48
  * @since 1.18.0
49
- * @category constructors
49
+ * @category Constructors
50
50
  */
51
51
  export function make(initial, eq = equals) {
52
52
  return RefSubject.make(initial, { eq: Equivalence_.Array(eq) });
@@ -65,7 +65,7 @@ export function make(initial, eq = equals) {
65
65
  * It acquires no resource; failures and services remain those of the source ref.
66
66
  *
67
67
  * @since 1.18.0
68
- * @category combinators
68
+ * @category State updates
69
69
  */
70
70
  export const prepend = dual(2, function prepend(ref, value) {
71
71
  return RefSubject.update(ref, ReadonlyArray.prepend(value));
@@ -84,7 +84,7 @@ export const prepend = dual(2, function prepend(ref, value) {
84
84
  * value. It acquires no resource; failures and services remain those of the source ref.
85
85
  *
86
86
  * @since 1.18.0
87
- * @category combinators
87
+ * @category State updates
88
88
  */
89
89
  export const prependAll = dual(2, function prependAll(ref, value) {
90
90
  return RefSubject.update(ref, ReadonlyArray.prependAll(value));
@@ -103,7 +103,7 @@ export const prependAll = dual(2, function prependAll(ref, value) {
103
103
  * It acquires no resource; failures and services remain those of the source ref.
104
104
  *
105
105
  * @since 1.18.0
106
- * @category combinators
106
+ * @category State updates
107
107
  */
108
108
  export const append = dual(2, function append(ref, value) {
109
109
  return RefSubject.update(ref, ReadonlyArray.append(value));
@@ -122,7 +122,7 @@ export const append = dual(2, function append(ref, value) {
122
122
  * value. It acquires no resource; failures and services remain those of the source ref.
123
123
  *
124
124
  * @since 1.18.0
125
- * @category combinators
125
+ * @category State updates
126
126
  */
127
127
  export const appendAll = dual(2, function appendAll(ref, value) {
128
128
  return RefSubject.update(ref, ReadonlyArray.appendAll(value));
@@ -141,7 +141,7 @@ export const appendAll = dual(2, function appendAll(ref, value) {
141
141
  * acquires no resource; failures and services remain those of the source ref.
142
142
  *
143
143
  * @since 1.18.0
144
- * @category combinators
144
+ * @category State updates
145
145
  */
146
146
  export const drop = dual(2, function drop(ref, n) {
147
147
  return RefSubject.update(ref, ReadonlyArray.drop(n));
@@ -160,7 +160,7 @@ export const drop = dual(2, function drop(ref, n) {
160
160
  * value. It acquires no resource; failures and services remain those of the source ref.
161
161
  *
162
162
  * @since 1.18.0
163
- * @category combinators
163
+ * @category State updates
164
164
  */
165
165
  export const dropRight = dual(2, function dropRight(ref, n) {
166
166
  return RefSubject.update(ref, ReadonlyArray.dropRight(n));
@@ -179,7 +179,7 @@ export const dropRight = dual(2, function dropRight(ref, n) {
179
179
  * value. It acquires no resource; failures and services remain those of the source ref.
180
180
  *
181
181
  * @since 1.18.0
182
- * @category combinators
182
+ * @category State updates
183
183
  */
184
184
  export const dropWhile = dual(2, function dropWhile(ref, predicate) {
185
185
  return RefSubject.update(ref, ReadonlyArray.dropWhile(predicate));
@@ -198,7 +198,7 @@ export const dropWhile = dual(2, function dropWhile(ref, predicate) {
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 Derived queries
202
202
  */
203
203
  export const filterValues = dual(2, function filterValues(ref, predicate) {
204
204
  return RefSubject.map(ref, ReadonlyArray.filter(predicate));
@@ -217,7 +217,7 @@ export const filterValues = dual(2, function filterValues(ref, predicate) {
217
217
  * while absent; the observing Scope owns and finalizes its Fx subscription.
218
218
  *
219
219
  * @since 1.18.0
220
- * @category filtered
220
+ * @category Optional queries
221
221
  */
222
222
  export const getIndex = dual(2, function getIndex(ref, index) {
223
223
  return RefSubject.filterMap(ref, ReadonlyArray.get(index));
@@ -236,7 +236,7 @@ export const getIndex = dual(2, function getIndex(ref, index) {
236
236
  * observation follows later pushes and its observing Scope owns subscription cleanup.
237
237
  *
238
238
  * @since 1.18.0
239
- * @category computed
239
+ * @category Derived queries
240
240
  */
241
241
  export const groupBy = dual(2, function groupBy(ref, f) {
242
242
  return RefSubject.map(ref, ReadonlyArray.groupBy(f));
@@ -255,7 +255,7 @@ export const groupBy = dual(2, function groupBy(ref, f) {
255
255
  * value. It acquires no resource; failures and services remain those of the source ref.
256
256
  *
257
257
  * @since 1.18.0
258
- * @category combinators
258
+ * @category State updates
259
259
  */
260
260
  export const insertAt = dual(3, function insertAt(ref, index, a) {
261
261
  return RefSubject.update(ref, (as) => Option.getOrElse(ReadonlyArray.insertAt(as, index, a), () => [...as, a]));
@@ -274,7 +274,7 @@ export const insertAt = dual(3, function insertAt(ref, index, a) {
274
274
  * observation follows later pushes and its observing Scope owns subscription cleanup.
275
275
  *
276
276
  * @since 1.18.0
277
- * @category computed
277
+ * @category State predicates
278
278
  */
279
279
  export const isEmpty = (ref) => RefSubject.map(ref, ReadonlyArray.isReadonlyArrayEmpty);
280
280
  /**
@@ -291,7 +291,7 @@ export const isEmpty = (ref) => RefSubject.map(ref, ReadonlyArray.isReadonlyArra
291
291
  * observation follows later pushes and its observing Scope owns subscription cleanup.
292
292
  *
293
293
  * @since 1.18.0
294
- * @category computed
294
+ * @category State predicates
295
295
  */
296
296
  export const isNonEmpty = (ref) => RefSubject.map(ref, ReadonlyArray.isReadonlyArrayNonEmpty);
297
297
  /**
@@ -308,7 +308,7 @@ export const isNonEmpty = (ref) => RefSubject.map(ref, ReadonlyArray.isReadonlyA
308
308
  * observation follows later pushes and its observing Scope owns subscription cleanup.
309
309
  *
310
310
  * @since 1.18.0
311
- * @category computed
311
+ * @category Derived queries
312
312
  */
313
313
  export const length = (ref) => RefSubject.map(ref, ReadonlyArray.length);
314
314
  /**
@@ -331,7 +331,7 @@ export const length = (ref) => RefSubject.map(ref, ReadonlyArray.length);
331
331
  * changing that signature or runtime behavior requires a separate compatibility decision.
332
332
  *
333
333
  * @since 1.18.0
334
- * @category combinators
334
+ * @category State updates
335
335
  */
336
336
  export const map = dual(2, function mapValues(ref, f) {
337
337
  return RefSubject.update(ref, ReadonlyArray.map(f));
@@ -350,7 +350,7 @@ export const map = dual(2, function mapValues(ref, f) {
350
350
  * observation follows later pushes and its observing Scope owns subscription cleanup.
351
351
  *
352
352
  * @since 1.18.0
353
- * @category computed
353
+ * @category Derived queries
354
354
  */
355
355
  export const mapValues = dual(2, function mapValues(ref, f) {
356
356
  return RefSubject.map(ref, ReadonlyArray.map(f));
@@ -369,7 +369,7 @@ export const mapValues = dual(2, function mapValues(ref, f) {
369
369
  * value. It acquires no resource; failures and services remain those of the source ref.
370
370
  *
371
371
  * @since 1.18.0
372
- * @category combinators
372
+ * @category State updates
373
373
  */
374
374
  export const modifyAt = dual(3, function modifyAt(ref, index, f) {
375
375
  return RefSubject.update(ref, (values) => Option.getOrElse(ReadonlyArray.modify(values, index, f), () => values));
@@ -388,7 +388,7 @@ export const modifyAt = dual(3, function modifyAt(ref, index, f) {
388
388
  * observation follows later pushes and its observing Scope owns subscription cleanup.
389
389
  *
390
390
  * @since 1.18.0
391
- * @category computed
391
+ * @category Derived queries
392
392
  */
393
393
  export const partition = dual(2, function partition(ref, predicate) {
394
394
  return RefSubject.map(ref, (array) => ReadonlyArray.partition(array, Result.liftPredicate(predicate, Result.fail)));
@@ -407,7 +407,7 @@ export const partition = dual(2, function partition(ref, predicate) {
407
407
  * observation follows later pushes and its observing Scope owns subscription cleanup.
408
408
  *
409
409
  * @since 1.18.0
410
- * @category computed
410
+ * @category Derived queries
411
411
  */
412
412
  export const reduce = dual(3, function reduce(ref, b, f) {
413
413
  return RefSubject.map(ref, ReadonlyArray.reduce(b, f));
@@ -426,7 +426,7 @@ export const reduce = dual(3, function reduce(ref, b, f) {
426
426
  * observation follows later pushes and its observing Scope owns subscription cleanup.
427
427
  *
428
428
  * @since 1.18.0
429
- * @category computed
429
+ * @category Derived queries
430
430
  */
431
431
  export const reduceRight = dual(3, function reduceRight(ref, b, f) {
432
432
  return RefSubject.map(ref, ReadonlyArray.reduceRight(b, f));
@@ -445,7 +445,7 @@ export const reduceRight = dual(3, function reduceRight(ref, b, f) {
445
445
  * value. It acquires no resource; failures and services remain those of the source ref.
446
446
  *
447
447
  * @since 1.18.0
448
- * @category combinators
448
+ * @category State updates
449
449
  */
450
450
  export const replaceAt = dual(3, function replaceAt(ref, index, a) {
451
451
  return RefSubject.update(ref, (values) => Option.getOrElse(ReadonlyArray.replace(values, index, a), () => values));
@@ -464,7 +464,7 @@ export const replaceAt = dual(3, function replaceAt(ref, index, a) {
464
464
  * It acquires no resource; failures and services remain those of the source ref.
465
465
  *
466
466
  * @since 1.18.0
467
- * @category combinators
467
+ * @category State updates
468
468
  */
469
469
  export const rotate = dual(2, function rotate(ref, n) {
470
470
  return RefSubject.update(ref, ReadonlyArray.rotate(n));
@@ -483,7 +483,7 @@ export const rotate = dual(2, function rotate(ref, n) {
483
483
  * It acquires no resource; failures and services remain those of the source ref.
484
484
  *
485
485
  * @since 1.18.0
486
- * @category combinators
486
+ * @category State updates
487
487
  */
488
488
  export const sortBy = dual(2, function sortBy(ref, orders) {
489
489
  return RefSubject.update(ref, ReadonlyArray.sortBy(...orders));
@@ -502,7 +502,7 @@ export const sortBy = dual(2, function sortBy(ref, orders) {
502
502
  * acquires no resource; failures and services remain those of the source ref.
503
503
  *
504
504
  * @since 1.18.0
505
- * @category combinators
505
+ * @category State updates
506
506
  */
507
507
  export const take = dual(2, function take(ref, n) {
508
508
  return RefSubject.update(ref, ReadonlyArray.take(n));
@@ -521,7 +521,7 @@ export const take = dual(2, function take(ref, n) {
521
521
  * value. It acquires no resource; failures and services remain those of the source ref.
522
522
  *
523
523
  * @since 1.18.0
524
- * @category combinators
524
+ * @category State updates
525
525
  */
526
526
  export const takeRight = dual(2, function takeRight(ref, n) {
527
527
  return RefSubject.update(ref, ReadonlyArray.takeRight(n));
@@ -540,7 +540,7 @@ export const takeRight = dual(2, function takeRight(ref, n) {
540
540
  * value. It acquires no resource; failures and services remain those of the source ref.
541
541
  *
542
542
  * @since 1.18.0
543
- * @category combinators
543
+ * @category State updates
544
544
  */
545
545
  export const takeWhile = dual(2, function takeWhile(ref, predicate) {
546
546
  return RefSubject.update(ref, ReadonlyArray.takeWhile(predicate));
@@ -559,7 +559,7 @@ export const takeWhile = dual(2, function takeWhile(ref, predicate) {
559
559
  * value. It acquires no resource; failures and services remain those of the source ref.
560
560
  *
561
561
  * @since 1.18.0
562
- * @category combinators
562
+ * @category State updates
563
563
  */
564
564
  export const dedupeWith = (valueEq) => (ref) => RefSubject.update(ref, ReadonlyArray.dedupeWith(valueEq));
565
565
  /**
@@ -595,7 +595,7 @@ export const dedupeWith = (valueEq) => (ref) => RefSubject.update(ref, ReadonlyA
595
595
  * ```
596
596
  *
597
597
  * @since 1.18.0
598
- * @category filtered
598
+ * @category Optional queries
599
599
  */
600
600
  export const last = (ref) => RefSubject.filterMap(ref, ReadonlyArray.last);
601
601
  /**
@@ -631,6 +631,6 @@ export const last = (ref) => RefSubject.filterMap(ref, ReadonlyArray.last);
631
631
  * ```
632
632
  *
633
633
  * @since 1.18.0
634
- * @category filtered
634
+ * @category Optional queries
635
635
  */
636
636
  export const head = (ref) => RefSubject.filterMap(ref, ReadonlyArray.head);