@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
  * 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 RefOption<in out A, in out E = never, out R = never> extends RefSubject.RefSubject<Option.Option<A>, E, R> {
28
28
  }
@@ -53,7 +53,7 @@ export interface RefOption<in out A, in out E = never, out R = never> extends Re
53
53
  * ```
54
54
  *
55
55
  * @since 1.18.0
56
- * @category constructors
56
+ * @category Constructors
57
57
  */
58
58
  export declare function make<A, E = never, R = never>(initial: Option.Option<A> | Effect.Effect<Option.Option<A>, E, R> | Fx.Fx<Option.Option<A>, E, R>, eq?: Equivalence<A>): Effect.Effect<RefOption<A, E>, never, R | Scope.Scope>;
59
59
  /**
@@ -70,7 +70,7 @@ export declare function make<A, E = never, R = never>(initial: Option.Option<A>
70
70
  * value. It acquires no resource; failures and services remain those of the source ref.
71
71
  *
72
72
  * @since 1.18.0
73
- * @category combinators
73
+ * @category State updates
74
74
  */
75
75
  export declare const setSome: {
76
76
  <A>(value: A): <E, R>(ref: RefOption<A, E, R>) => Effect.Effect<Option.Option<A>, E, R>;
@@ -90,7 +90,7 @@ export declare const setSome: {
90
90
  * value. It acquires no resource; failures and services remain those of the source ref.
91
91
  *
92
92
  * @since 1.18.0
93
- * @category combinators
93
+ * @category State updates
94
94
  */
95
95
  export declare const setNone: <A, E, R>(ref: RefOption<A, E, R>) => Effect.Effect<Option.Option<A>, E, R>;
96
96
  /**
@@ -107,7 +107,7 @@ export declare const setNone: <A, E, R>(ref: RefOption<A, E, R>) => Effect.Effec
107
107
  * observation follows later pushes and its observing Scope owns subscription cleanup.
108
108
  *
109
109
  * @since 1.18.0
110
- * @category computed
110
+ * @category Derived queries
111
111
  */
112
112
  export declare const map: {
113
113
  <A, B>(f: (a: A) => B): <E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<Option.Option<B>, E, R>;
@@ -127,7 +127,7 @@ export declare const map: {
127
127
  * observation follows later pushes and its observing Scope owns subscription cleanup.
128
128
  *
129
129
  * @since 1.18.0
130
- * @category computed
130
+ * @category Derived queries
131
131
  */
132
132
  export declare const flatMap: {
133
133
  <A, B>(f: (a: A) => Option.Option<B>): <E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<Option.Option<B>, E, R>;
@@ -147,7 +147,7 @@ export declare const flatMap: {
147
147
  * observation follows later pushes and its observing Scope owns subscription cleanup.
148
148
  *
149
149
  * @since 1.18.0
150
- * @category computed
150
+ * @category Derived queries
151
151
  */
152
152
  export declare const filter: {
153
153
  <A>(predicate: (a: A) => boolean): <E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<Option.Option<A>, E, R>;
@@ -167,7 +167,7 @@ export declare const filter: {
167
167
  * observation follows later pushes and its observing Scope owns subscription cleanup.
168
168
  *
169
169
  * @since 1.18.0
170
- * @category computed
170
+ * @category Derived queries
171
171
  */
172
172
  export declare const getOrElse: {
173
173
  <A>(fallback: () => A): <E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<A, E, R>;
@@ -187,7 +187,7 @@ export declare const getOrElse: {
187
187
  * observation follows later pushes and its observing Scope owns subscription cleanup.
188
188
  *
189
189
  * @since 1.18.0
190
- * @category computed
190
+ * @category State predicates
191
191
  */
192
192
  export declare const isSome: <A, E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<boolean, E, R>;
193
193
  /**
@@ -204,7 +204,7 @@ export declare const isSome: <A, E, R>(ref: RefOption<A, E, R>) => RefSubject.Co
204
204
  * observation follows later pushes and its observing Scope owns subscription cleanup.
205
205
  *
206
206
  * @since 1.18.0
207
- * @category computed
207
+ * @category State predicates
208
208
  */
209
209
  export declare const isNone: <A, E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<boolean, E, R>;
210
210
  /**
@@ -221,7 +221,7 @@ export declare const isNone: <A, E, R>(ref: RefOption<A, E, R>) => RefSubject.Co
221
221
  * observation follows later pushes and its observing Scope owns subscription cleanup.
222
222
  *
223
223
  * @since 1.18.0
224
- * @category computed
224
+ * @category State predicates
225
225
  */
226
226
  export declare const contains: {
227
227
  <A>(value: A): <E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -241,7 +241,7 @@ export declare const contains: {
241
241
  * observation follows later pushes and its observing Scope owns subscription cleanup.
242
242
  *
243
243
  * @since 1.18.0
244
- * @category computed
244
+ * @category State predicates
245
245
  */
246
246
  export declare const exists: {
247
247
  <A>(predicate: (a: A) => boolean): <E, R>(ref: RefOption<A, E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -261,7 +261,7 @@ export declare const exists: {
261
261
  * while absent; the observing Scope owns and finalizes its Fx subscription.
262
262
  *
263
263
  * @since 1.18.0
264
- * @category filtered
264
+ * @category Optional queries
265
265
  */
266
266
  export declare const getValue: <A, E, R>(ref: RefOption<A, E, R>) => RefSubject.Filtered<A, E, R>;
267
267
  //# sourceMappingURL=RefOption.d.ts.map
@@ -33,7 +33,7 @@ import * as RefSubject from "./RefSubject.js";
33
33
  * ```
34
34
  *
35
35
  * @since 1.18.0
36
- * @category constructors
36
+ * @category Constructors
37
37
  */
38
38
  export function make(initial, eq = Equivalence_.strictEqual()) {
39
39
  return RefSubject.make(initial, { eq: Option.makeEquivalence(eq) });
@@ -52,7 +52,7 @@ export function make(initial, eq = Equivalence_.strictEqual()) {
52
52
  * value. It acquires no resource; failures and services remain those of the source ref.
53
53
  *
54
54
  * @since 1.18.0
55
- * @category combinators
55
+ * @category State updates
56
56
  */
57
57
  export const setSome = dual(2, function setSome(ref, value) {
58
58
  return RefSubject.set(ref, Option.some(value));
@@ -71,7 +71,7 @@ export const setSome = dual(2, function setSome(ref, value) {
71
71
  * value. It acquires no resource; failures and services remain those of the source ref.
72
72
  *
73
73
  * @since 1.18.0
74
- * @category combinators
74
+ * @category State updates
75
75
  */
76
76
  export const setNone = (ref) => RefSubject.set(ref, Option.none());
77
77
  // ========================================
@@ -91,7 +91,7 @@ export const setNone = (ref) => RefSubject.set(ref, Option.none());
91
91
  * observation follows later pushes and its observing Scope owns subscription cleanup.
92
92
  *
93
93
  * @since 1.18.0
94
- * @category computed
94
+ * @category Derived queries
95
95
  */
96
96
  export const map = dual(2, function map(ref, f) {
97
97
  return RefSubject.map(ref, (self) => Option.map(self, f));
@@ -110,7 +110,7 @@ export const map = dual(2, function map(ref, f) {
110
110
  * observation follows later pushes and its observing Scope owns subscription cleanup.
111
111
  *
112
112
  * @since 1.18.0
113
- * @category computed
113
+ * @category Derived queries
114
114
  */
115
115
  export const flatMap = dual(2, function flatMap(ref, f) {
116
116
  return RefSubject.map(ref, (self) => Option.flatMap(self, f));
@@ -129,7 +129,7 @@ export const flatMap = dual(2, function flatMap(ref, f) {
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 const filter = dual(2, function filter(ref, predicate) {
135
135
  return RefSubject.map(ref, (self) => Option.filter(self, predicate));
@@ -148,7 +148,7 @@ export const filter = dual(2, function filter(ref, predicate) {
148
148
  * observation follows later pushes and its observing Scope owns subscription cleanup.
149
149
  *
150
150
  * @since 1.18.0
151
- * @category computed
151
+ * @category Derived queries
152
152
  */
153
153
  export const getOrElse = dual(2, function getOrElse(ref, fallback) {
154
154
  return RefSubject.map(ref, (self) => Option.getOrElse(self, fallback));
@@ -167,7 +167,7 @@ export const getOrElse = dual(2, function getOrElse(ref, fallback) {
167
167
  * observation follows later pushes and its observing Scope owns subscription cleanup.
168
168
  *
169
169
  * @since 1.18.0
170
- * @category computed
170
+ * @category State predicates
171
171
  */
172
172
  export const isSome = (ref) => RefSubject.map(ref, Option.isSome);
173
173
  /**
@@ -184,7 +184,7 @@ export const isSome = (ref) => RefSubject.map(ref, Option.isSome);
184
184
  * observation follows later pushes and its observing Scope owns subscription cleanup.
185
185
  *
186
186
  * @since 1.18.0
187
- * @category computed
187
+ * @category State predicates
188
188
  */
189
189
  export const isNone = (ref) => RefSubject.map(ref, Option.isNone);
190
190
  /**
@@ -201,7 +201,7 @@ export const isNone = (ref) => RefSubject.map(ref, Option.isNone);
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 State predicates
205
205
  */
206
206
  export const contains = dual(2, function contains(ref, value) {
207
207
  return RefSubject.map(ref, (self) => Option.contains(self, value));
@@ -220,7 +220,7 @@ export const contains = dual(2, function contains(ref, value) {
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 State predicates
224
224
  */
225
225
  export const exists = dual(2, function exists(ref, predicate) {
226
226
  return RefSubject.map(ref, (self) => Option.exists(self, predicate));
@@ -242,6 +242,6 @@ export const exists = dual(2, function exists(ref, predicate) {
242
242
  * while absent; the observing Scope owns and finalizes its Fx subscription.
243
243
  *
244
244
  * @since 1.18.0
245
- * @category filtered
245
+ * @category Optional queries
246
246
  */
247
247
  export const getValue = (ref) => RefSubject.compact(ref);
@@ -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 RefRecord<in out K extends string, in out V, in out E = never, out R = never> extends RefSubject.RefSubject<Record.ReadonlyRecord<K, V>, E, R> {
28
28
  }
@@ -40,7 +40,7 @@ export interface RefRecord<in out K extends string, in out V, in out E = never,
40
40
  * and cleanup; source failures and services stay on reads and pushes.
41
41
  *
42
42
  * @since 1.18.0
43
- * @category constructors
43
+ * @category Constructors
44
44
  */
45
45
  export declare function make<K extends string, V, E = never, R = never>(initial: Record.ReadonlyRecord<K, V> | Effect.Effect<Record.ReadonlyRecord<K, V>, E, R> | Fx.Fx<Record.ReadonlyRecord<K, V>, E, R>): Effect.Effect<RefRecord<K, V, E>, never, R | Scope.Scope>;
46
46
  /**
@@ -57,7 +57,7 @@ export declare function make<K extends string, V, E = never, R = never>(initial:
57
57
  * acquires no resource; failures and services remain those of the source ref.
58
58
  *
59
59
  * @since 1.18.0
60
- * @category combinators
60
+ * @category State updates
61
61
  */
62
62
  export declare const set: {
63
63
  <K extends string, V>(key: K, value: V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -77,7 +77,7 @@ export declare const set: {
77
77
  * It acquires no resource; failures and services remain those of the source ref.
78
78
  *
79
79
  * @since 1.18.0
80
- * @category combinators
80
+ * @category State updates
81
81
  */
82
82
  export declare const remove: {
83
83
  <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -97,7 +97,7 @@ export declare const remove: {
97
97
  * It acquires no resource; failures and services remain those of the source ref.
98
98
  *
99
99
  * @since 1.18.0
100
- * @category combinators
100
+ * @category State updates
101
101
  */
102
102
  export declare const modify: {
103
103
  <K extends string, V>(key: K, f: (v: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -117,7 +117,7 @@ export declare const modify: {
117
117
  * It acquires no resource; failures and services remain those of the source ref.
118
118
  *
119
119
  * @since 1.18.0
120
- * @category combinators
120
+ * @category State updates
121
121
  */
122
122
  export declare const replace: {
123
123
  <K extends string, V>(key: K, value: V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -137,7 +137,7 @@ export declare const replace: {
137
137
  * It acquires no resource; failures and services remain those of the source ref.
138
138
  *
139
139
  * @since 1.18.0
140
- * @category combinators
140
+ * @category State updates
141
141
  */
142
142
  export declare const clear: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
143
143
  /**
@@ -154,7 +154,7 @@ export declare const clear: <K extends string, V, E, R>(ref: RefRecord<K, V, E,
154
154
  * It acquires no resource; failures and services remain those of the source ref.
155
155
  *
156
156
  * @since 1.18.0
157
- * @category combinators
157
+ * @category State updates
158
158
  */
159
159
  export declare const union: {
160
160
  <K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -174,7 +174,7 @@ export declare const union: {
174
174
  * value. It acquires no resource; failures and services remain those of the source ref.
175
175
  *
176
176
  * @since 1.18.0
177
- * @category combinators
177
+ * @category State updates
178
178
  */
179
179
  export declare const intersection: {
180
180
  <K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -194,7 +194,7 @@ export declare const intersection: {
194
194
  * value. It acquires no resource; failures and services remain those of the source ref.
195
195
  *
196
196
  * @since 1.18.0
197
- * @category combinators
197
+ * @category State updates
198
198
  */
199
199
  export declare const difference: {
200
200
  <K extends string, V>(that: Record.ReadonlyRecord<K, V>): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;
@@ -213,7 +213,7 @@ export declare const difference: {
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 Record and retains the ref's E and R channels.
215
215
  * @since 1.18.0
216
- * @category combinators
216
+ * @category State updates
217
217
  */
218
218
  export declare const filter: {
219
219
  <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<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 Record and retains the ref's E and R channels.
234
234
  * @since 1.18.0
235
- * @category combinators
235
+ * @category State updates
236
236
  */
237
237
  export declare const map: {
238
238
  <K extends string, V>(f: (value: V, key: K) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<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 computed
255
+ * @category Derived queries
256
256
  */
257
257
  export declare const size: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<number, E, R>;
258
258
  /**
@@ -269,7 +269,7 @@ export declare const size: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R
269
269
  * observation follows later pushes and its observing Scope owns subscription cleanup.
270
270
  *
271
271
  * @since 1.18.0
272
- * @category computed
272
+ * @category State predicates
273
273
  */
274
274
  export declare const isEmpty: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
275
275
  /**
@@ -286,7 +286,7 @@ export declare const isEmpty: <K extends string, V, E, R>(ref: RefRecord<K, V, E
286
286
  * observation follows later pushes and its observing Scope owns subscription cleanup.
287
287
  *
288
288
  * @since 1.18.0
289
- * @category computed
289
+ * @category State predicates
290
290
  */
291
291
  export declare const isNonEmpty: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
292
292
  /**
@@ -303,7 +303,7 @@ export declare const isNonEmpty: <K extends string, V, E, R>(ref: RefRecord<K, V
303
303
  * observation follows later pushes and its observing Scope owns subscription cleanup.
304
304
  *
305
305
  * @since 1.18.0
306
- * @category computed
306
+ * @category State predicates
307
307
  */
308
308
  export declare const has: {
309
309
  <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -323,7 +323,7 @@ export declare const has: {
323
323
  * observation follows later pushes and its observing Scope owns subscription cleanup.
324
324
  *
325
325
  * @since 1.18.0
326
- * @category computed
326
+ * @category Derived queries
327
327
  */
328
328
  export declare const keys: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Array<K>, E, R>;
329
329
  /**
@@ -340,7 +340,7 @@ export declare const keys: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R
340
340
  * observation follows later pushes and its observing Scope owns subscription cleanup.
341
341
  *
342
342
  * @since 1.18.0
343
- * @category computed
343
+ * @category Derived queries
344
344
  */
345
345
  export declare const values: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Array<V>, E, R>;
346
346
  /**
@@ -357,7 +357,7 @@ export declare const values: <K extends string, V, E, R>(ref: RefRecord<K, V, E,
357
357
  * observation follows later pushes and its observing Scope owns subscription cleanup.
358
358
  *
359
359
  * @since 1.18.0
360
- * @category computed
360
+ * @category Derived queries
361
361
  */
362
362
  export declare const entries: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Array<[K, V]>, E, R>;
363
363
  /**
@@ -374,7 +374,7 @@ export declare const entries: <K extends string, V, E, R>(ref: RefRecord<K, V, E
374
374
  * observation follows later pushes and its observing Scope owns subscription cleanup.
375
375
  *
376
376
  * @since 1.18.0
377
- * @category computed
377
+ * @category Derived queries
378
378
  */
379
379
  export declare const mapValues: {
380
380
  <K extends string, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<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 computed
397
+ * @category Derived queries
398
398
  */
399
399
  export declare const mapKeys: {
400
400
  <K extends string, K2 extends string>(f: (key: K) => K2): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;
@@ -414,7 +414,7 @@ export declare const mapKeys: {
414
414
  * observation follows later pushes and its observing Scope owns subscription cleanup.
415
415
  *
416
416
  * @since 1.18.0
417
- * @category computed
417
+ * @category Derived queries
418
418
  */
419
419
  export declare const mapEntries: {
420
420
  <K extends string, V, K2 extends string, B>(f: (value: V, key: K) => [K2, B]): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, B>, E, R>;
@@ -434,7 +434,7 @@ export declare const mapEntries: {
434
434
  * observation follows later pushes and its observing Scope owns subscription cleanup.
435
435
  *
436
436
  * @since 1.18.0
437
- * @category computed
437
+ * @category Derived queries
438
438
  */
439
439
  export declare const filterValues: {
440
440
  <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;
@@ -454,7 +454,7 @@ export declare const filterValues: {
454
454
  * Fx observation follows later pushes and its observing Scope owns subscription cleanup.
455
455
  *
456
456
  * @since 1.18.0
457
- * @category computed
457
+ * @category Derived queries
458
458
  */
459
459
  export declare const filterMapValues: {
460
460
  <K extends string, V, B>(f: (value: V, key: K) => Option.Option<B>): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, B>, E, R>;
@@ -473,7 +473,7 @@ export declare const filterMapValues: {
473
473
  * observation follows later pushes and its observing Scope owns subscription cleanup.
474
474
  *
475
475
  * @since 1.18.0
476
- * @category computed
476
+ * @category Derived queries
477
477
  */
478
478
  export declare const partition: {
479
479
  <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<[Record.ReadonlyRecord<K, V>, Record.ReadonlyRecord<K, V>], E, R>;
@@ -493,7 +493,7 @@ export declare const partition: {
493
493
  * observation follows later pushes and its observing Scope owns subscription cleanup.
494
494
  *
495
495
  * @since 1.18.0
496
- * @category computed
496
+ * @category State predicates
497
497
  */
498
498
  export declare const some: {
499
499
  <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -513,7 +513,7 @@ export declare const some: {
513
513
  * observation follows later pushes and its observing Scope owns subscription cleanup.
514
514
  *
515
515
  * @since 1.18.0
516
- * @category computed
516
+ * @category State predicates
517
517
  */
518
518
  export declare const every: {
519
519
  <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -533,7 +533,7 @@ export declare const every: {
533
533
  * observation follows later pushes and its observing Scope owns subscription cleanup.
534
534
  *
535
535
  * @since 1.18.0
536
- * @category computed
536
+ * @category Derived queries
537
537
  */
538
538
  export declare const reduce: {
539
539
  <K extends string, V, B>(b: B, f: (b: B, value: V, key: K) => B): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<B, E, R>;
@@ -553,7 +553,7 @@ export declare const reduce: {
553
553
  * while absent; the observing Scope owns and finalizes its Fx subscription.
554
554
  *
555
555
  * @since 1.18.0
556
- * @category filtered
556
+ * @category Optional queries
557
557
  */
558
558
  export declare const get: {
559
559
  <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Filtered<V, E, R>;
@@ -573,7 +573,7 @@ export declare const get: {
573
573
  * while absent; the observing Scope owns and finalizes its Fx subscription.
574
574
  *
575
575
  * @since 1.18.0
576
- * @category filtered
576
+ * @category Optional queries
577
577
  */
578
578
  export declare const findFirst: {
579
579
  <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Filtered<[K, V], E, R>;
@@ -593,7 +593,7 @@ export declare const findFirst: {
593
593
  * while absent; the observing Scope owns and finalizes its Fx subscription.
594
594
  *
595
595
  * @since 1.18.0
596
- * @category filtered
596
+ * @category Optional queries
597
597
  */
598
598
  export declare const pop: {
599
599
  <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Filtered<[V, Record.ReadonlyRecord<K, V>], E, R>;