@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
@@ -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 RefBoolean<in out E = never, out R = never> extends RefSubject.RefSubject<boolean, E, R> {
27
27
  }
@@ -52,7 +52,7 @@ export interface RefBoolean<in out E = never, out R = never> extends RefSubject.
52
52
  * ```
53
53
  *
54
54
  * @since 1.18.0
55
- * @category constructors
55
+ * @category Constructors
56
56
  */
57
57
  export declare function make<E = never, R = never>(initial: boolean | Effect.Effect<boolean, E, R> | Fx.Fx<boolean, E, R>, eq?: Equivalence<boolean>): Effect.Effect<RefBoolean<E>, never, R | Scope.Scope>;
58
58
  /**
@@ -69,7 +69,7 @@ export declare function make<E = never, R = never>(initial: boolean | Effect.Eff
69
69
  * It 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 toggle: <E, R>(ref: RefBoolean<E, R>) => Effect.Effect<boolean, E, R>;
75
75
  /**
@@ -86,7 +86,7 @@ export declare const toggle: <E, R>(ref: RefBoolean<E, R>) => Effect.Effect<bool
86
86
  * value. It acquires no resource; failures and services remain those of the source ref.
87
87
  *
88
88
  * @since 1.18.0
89
- * @category combinators
89
+ * @category State updates
90
90
  */
91
91
  export declare const setTrue: <E, R>(ref: RefBoolean<E, R>) => Effect.Effect<boolean, E, R>;
92
92
  /**
@@ -103,7 +103,7 @@ export declare const setTrue: <E, R>(ref: RefBoolean<E, R>) => Effect.Effect<boo
103
103
  * value. It acquires no resource; failures and services remain those of the source ref.
104
104
  *
105
105
  * @since 1.18.0
106
- * @category combinators
106
+ * @category State updates
107
107
  */
108
108
  export declare const setFalse: <E, R>(ref: RefBoolean<E, R>) => Effect.Effect<boolean, E, R>;
109
109
  /**
@@ -120,7 +120,7 @@ export declare const setFalse: <E, R>(ref: RefBoolean<E, R>) => Effect.Effect<bo
120
120
  * observation follows later pushes and its observing Scope owns subscription cleanup.
121
121
  *
122
122
  * @since 1.18.0
123
- * @category computed
123
+ * @category Derived queries
124
124
  */
125
125
  export declare const and: {
126
126
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -140,7 +140,7 @@ export declare const and: {
140
140
  * follows later pushes and its observing Scope owns subscription cleanup.
141
141
  *
142
142
  * @since 1.18.0
143
- * @category computed
143
+ * @category Derived queries
144
144
  */
145
145
  export declare const or: {
146
146
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -160,7 +160,7 @@ export declare const or: {
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 declare const not: <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
166
166
  /**
@@ -177,7 +177,7 @@ export declare const not: <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<b
177
177
  * observation follows later pushes and its observing Scope owns subscription cleanup.
178
178
  *
179
179
  * @since 1.18.0
180
- * @category computed
180
+ * @category Derived queries
181
181
  */
182
182
  export declare const xor: {
183
183
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -197,7 +197,7 @@ export declare const xor: {
197
197
  * observation follows later pushes and its observing Scope owns subscription cleanup.
198
198
  *
199
199
  * @since 1.18.0
200
- * @category computed
200
+ * @category Derived queries
201
201
  */
202
202
  export declare const nand: {
203
203
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -217,7 +217,7 @@ export declare const nand: {
217
217
  * observation follows later pushes and its observing Scope owns subscription cleanup.
218
218
  *
219
219
  * @since 1.18.0
220
- * @category computed
220
+ * @category Derived queries
221
221
  */
222
222
  export declare const nor: {
223
223
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -237,7 +237,7 @@ export declare const nor: {
237
237
  * observation follows later pushes and its observing Scope owns subscription cleanup.
238
238
  *
239
239
  * @since 1.18.0
240
- * @category computed
240
+ * @category Derived queries
241
241
  */
242
242
  export declare const eqv: {
243
243
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -257,7 +257,7 @@ export declare const eqv: {
257
257
  * observation follows later pushes and its observing Scope owns subscription cleanup.
258
258
  *
259
259
  * @since 1.18.0
260
- * @category computed
260
+ * @category Derived queries
261
261
  */
262
262
  export declare const implies: {
263
263
  (that: boolean): <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
@@ -277,7 +277,7 @@ export declare const implies: {
277
277
  * observation follows later pushes and its observing Scope owns subscription cleanup.
278
278
  *
279
279
  * @since 1.18.0
280
- * @category computed
280
+ * @category State predicates
281
281
  */
282
282
  export declare const isTrue: <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
283
283
  /**
@@ -294,7 +294,7 @@ export declare const isTrue: <E, R>(ref: RefBoolean<E, R>) => RefSubject.Compute
294
294
  * observation follows later pushes and its observing Scope owns subscription cleanup.
295
295
  *
296
296
  * @since 1.18.0
297
- * @category computed
297
+ * @category State predicates
298
298
  */
299
299
  export declare const isFalse: <E, R>(ref: RefBoolean<E, R>) => RefSubject.Computed<boolean, E, R>;
300
300
  //# sourceMappingURL=RefBoolean.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 });
@@ -52,7 +52,7 @@ export function make(initial, eq = Equivalence_.strictEqual()) {
52
52
  * 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 toggle = (ref) => RefSubject.update(ref, Boolean_.not);
58
58
  /**
@@ -69,7 +69,7 @@ export const toggle = (ref) => RefSubject.update(ref, Boolean_.not);
69
69
  * value. It 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 const setTrue = (ref) => RefSubject.set(ref, true);
75
75
  /**
@@ -86,7 +86,7 @@ export const setTrue = (ref) => RefSubject.set(ref, true);
86
86
  * value. It acquires no resource; failures and services remain those of the source ref.
87
87
  *
88
88
  * @since 1.18.0
89
- * @category combinators
89
+ * @category State updates
90
90
  */
91
91
  export const setFalse = (ref) => RefSubject.set(ref, false);
92
92
  // ========================================
@@ -106,7 +106,7 @@ export const setFalse = (ref) => RefSubject.set(ref, false);
106
106
  * observation follows later pushes and its observing Scope owns subscription cleanup.
107
107
  *
108
108
  * @since 1.18.0
109
- * @category computed
109
+ * @category Derived queries
110
110
  */
111
111
  export const and = dual(2, function and(ref, that) {
112
112
  return RefSubject.map(ref, (self) => Boolean_.and(self, that));
@@ -125,7 +125,7 @@ export const and = dual(2, function and(ref, that) {
125
125
  * follows later pushes and its observing Scope owns subscription cleanup.
126
126
  *
127
127
  * @since 1.18.0
128
- * @category computed
128
+ * @category Derived queries
129
129
  */
130
130
  export const or = dual(2, function or(ref, that) {
131
131
  return RefSubject.map(ref, (self) => Boolean_.or(self, that));
@@ -144,7 +144,7 @@ export const or = dual(2, function or(ref, that) {
144
144
  * observation follows later pushes and its observing Scope owns subscription cleanup.
145
145
  *
146
146
  * @since 1.18.0
147
- * @category computed
147
+ * @category Derived queries
148
148
  */
149
149
  export const not = (ref) => RefSubject.map(ref, Boolean_.not);
150
150
  /**
@@ -161,7 +161,7 @@ export const not = (ref) => RefSubject.map(ref, Boolean_.not);
161
161
  * observation follows later pushes and its observing Scope owns subscription cleanup.
162
162
  *
163
163
  * @since 1.18.0
164
- * @category computed
164
+ * @category Derived queries
165
165
  */
166
166
  export const xor = dual(2, function xor(ref, that) {
167
167
  return RefSubject.map(ref, (self) => Boolean_.xor(self, that));
@@ -180,7 +180,7 @@ export const xor = dual(2, function xor(ref, that) {
180
180
  * observation follows later pushes and its observing Scope owns subscription cleanup.
181
181
  *
182
182
  * @since 1.18.0
183
- * @category computed
183
+ * @category Derived queries
184
184
  */
185
185
  export const nand = dual(2, function nand(ref, that) {
186
186
  return RefSubject.map(ref, (self) => Boolean_.nand(self, that));
@@ -199,7 +199,7 @@ export const nand = dual(2, function nand(ref, that) {
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 nor = dual(2, function nor(ref, that) {
205
205
  return RefSubject.map(ref, (self) => Boolean_.nor(self, that));
@@ -218,7 +218,7 @@ export const nor = dual(2, function nor(ref, that) {
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 const eqv = dual(2, function eqv(ref, that) {
224
224
  return RefSubject.map(ref, (self) => Boolean_.eqv(self, that));
@@ -237,7 +237,7 @@ export const eqv = dual(2, function eqv(ref, that) {
237
237
  * observation follows later pushes and its observing Scope owns subscription cleanup.
238
238
  *
239
239
  * @since 1.18.0
240
- * @category computed
240
+ * @category Derived queries
241
241
  */
242
242
  export const implies = dual(2, function implies(ref, that) {
243
243
  return RefSubject.map(ref, (self) => Boolean_.implies(self, that));
@@ -256,7 +256,7 @@ export const implies = dual(2, function implies(ref, that) {
256
256
  * observation follows later pushes and its observing Scope owns subscription cleanup.
257
257
  *
258
258
  * @since 1.18.0
259
- * @category computed
259
+ * @category State predicates
260
260
  */
261
261
  export const isTrue = (ref) => RefSubject.map(ref, (self) => self === true);
262
262
  /**
@@ -273,6 +273,6 @@ export const isTrue = (ref) => RefSubject.map(ref, (self) => self === true);
273
273
  * observation follows later pushes and its observing Scope owns subscription cleanup.
274
274
  *
275
275
  * @since 1.18.0
276
- * @category computed
276
+ * @category State predicates
277
277
  */
278
278
  export const isFalse = (ref) => RefSubject.map(ref, (self) => self === false);
@@ -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 RefCause<in out E, in out Err = never, out R = never> extends RefSubject.RefSubject<Cause.Cause<E>, Err, R> {
28
28
  }
@@ -53,7 +53,7 @@ export interface RefCause<in out E, in out Err = never, out R = never> extends R
53
53
  * ```
54
54
  *
55
55
  * @since 1.18.0
56
- * @category constructors
56
+ * @category Constructors
57
57
  */
58
58
  export declare function make<E = never, Err = never, R = never>(initial: Cause.Cause<E> | Effect.Effect<Cause.Cause<E>, Err, R> | Fx.Fx<Cause.Cause<E>, Err, R>, eq?: Equivalence<Cause.Cause<E>>): Effect.Effect<RefCause<E, Err>, never, R | Scope.Scope>;
59
59
  /**
@@ -70,7 +70,7 @@ export declare function make<E = never, Err = never, R = never>(initial: Cause.C
70
70
  * 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 setFail: {
76
76
  <E>(error: E): <Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;
@@ -90,7 +90,7 @@ export declare const setFail: {
90
90
  * 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 setDie: {
96
96
  (defect: unknown): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;
@@ -110,7 +110,7 @@ export declare const setDie: {
110
110
  * value. It acquires no resource; failures and services remain those of the source ref.
111
111
  *
112
112
  * @since 1.18.0
113
- * @category combinators
113
+ * @category State updates
114
114
  */
115
115
  export declare const setInterrupt: {
116
116
  (fiberId?: number): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;
@@ -130,7 +130,7 @@ export declare const setInterrupt: {
130
130
  * observation follows later pushes and its observing Scope owns subscription cleanup.
131
131
  *
132
132
  * @since 1.18.0
133
- * @category computed
133
+ * @category State predicates
134
134
  */
135
135
  export declare const hasFails: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.Computed<boolean, Err, R>;
136
136
  /**
@@ -147,7 +147,7 @@ export declare const hasFails: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubje
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 State predicates
151
151
  */
152
152
  export declare const hasDies: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.Computed<boolean, Err, R>;
153
153
  /**
@@ -164,7 +164,7 @@ export declare const hasDies: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubjec
164
164
  * observation follows later pushes and its observing Scope owns subscription cleanup.
165
165
  *
166
166
  * @since 1.18.0
167
- * @category computed
167
+ * @category State predicates
168
168
  */
169
169
  export declare const hasInterrupts: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.Computed<boolean, Err, R>;
170
170
  /**
@@ -181,7 +181,7 @@ export declare const hasInterrupts: <E, Err, R>(ref: RefCause<E, Err, R>) => Ref
181
181
  * observation follows later pushes and its observing Scope owns subscription cleanup.
182
182
  *
183
183
  * @since 1.18.0
184
- * @category computed
184
+ * @category State predicates
185
185
  */
186
186
  export declare const isEmpty: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.Computed<boolean, Err, R>;
187
187
  /**
@@ -198,7 +198,7 @@ export declare const isEmpty: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubjec
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 declare const size: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.Computed<number, Err, R>;
204
204
  /**
@@ -215,7 +215,7 @@ export declare const size: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.C
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 Derived queries
219
219
  */
220
220
  export declare const reasons: <E, Err, R>(ref: RefCause<E, Err, R>) => RefSubject.Computed<ReadonlyArray<Cause.Reason<E>>, Err, R>;
221
221
  //# sourceMappingURL=RefCause.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 = equals) {
40
40
  return RefSubject.make(initial, { eq: Equivalence_.make(eq) });
@@ -53,7 +53,7 @@ export function make(initial, eq = equals) {
53
53
  * It 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 setFail = dual(2, function setFail(ref, error) {
59
59
  return RefSubject.set(ref, Cause.fail(error));
@@ -72,7 +72,7 @@ export const setFail = dual(2, function setFail(ref, error) {
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 setDie = dual(2, function setDie(ref, defect) {
78
78
  return RefSubject.set(ref, Cause.die(defect));
@@ -91,7 +91,7 @@ export const setDie = dual(2, function setDie(ref, defect) {
91
91
  * value. 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 setInterrupt = dual(2, function setInterrupt(ref, fiberId) {
97
97
  return RefSubject.set(ref, Cause.interrupt(fiberId));
@@ -113,7 +113,7 @@ export const setInterrupt = dual(2, function setInterrupt(ref, fiberId) {
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 State predicates
117
117
  */
118
118
  export const hasFails = (ref) => RefSubject.map(ref, Cause.hasFails);
119
119
  /**
@@ -130,7 +130,7 @@ export const hasFails = (ref) => RefSubject.map(ref, Cause.hasFails);
130
130
  * observation follows later pushes and its observing Scope owns subscription cleanup.
131
131
  *
132
132
  * @since 1.18.0
133
- * @category computed
133
+ * @category State predicates
134
134
  */
135
135
  export const hasDies = (ref) => RefSubject.map(ref, Cause.hasDies);
136
136
  /**
@@ -147,7 +147,7 @@ export const hasDies = (ref) => RefSubject.map(ref, Cause.hasDies);
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 State predicates
151
151
  */
152
152
  export const hasInterrupts = (ref) => RefSubject.map(ref, Cause.hasInterrupts);
153
153
  /**
@@ -164,7 +164,7 @@ export const hasInterrupts = (ref) => RefSubject.map(ref, Cause.hasInterrupts);
164
164
  * observation follows later pushes and its observing Scope owns subscription cleanup.
165
165
  *
166
166
  * @since 1.18.0
167
- * @category computed
167
+ * @category State predicates
168
168
  */
169
169
  export const isEmpty = (ref) => RefSubject.map(ref, (self) => self.reasons.length === 0);
170
170
  /**
@@ -181,7 +181,7 @@ export const isEmpty = (ref) => RefSubject.map(ref, (self) => self.reasons.lengt
181
181
  * observation follows later pushes and its observing Scope owns subscription cleanup.
182
182
  *
183
183
  * @since 1.18.0
184
- * @category computed
184
+ * @category Derived queries
185
185
  */
186
186
  export const size = (ref) => RefSubject.map(ref, (self) => self.reasons.length);
187
187
  /**
@@ -198,6 +198,6 @@ export const size = (ref) => RefSubject.map(ref, (self) => self.reasons.length);
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 reasons = (ref) => RefSubject.map(ref, (self) => self.reasons);