effect 3.13.7 → 3.13.9

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 (338) hide show
  1. package/dist/cjs/Array.js +460 -431
  2. package/dist/cjs/Array.js.map +1 -1
  3. package/dist/cjs/BigDecimal.js +31 -89
  4. package/dist/cjs/BigDecimal.js.map +1 -1
  5. package/dist/cjs/BigInt.js +27 -71
  6. package/dist/cjs/BigInt.js.map +1 -1
  7. package/dist/cjs/Boolean.js +12 -10
  8. package/dist/cjs/Boolean.js.map +1 -1
  9. package/dist/cjs/Brand.js +2 -0
  10. package/dist/cjs/Brand.js.map +1 -1
  11. package/dist/cjs/Channel.js +0 -2
  12. package/dist/cjs/Channel.js.map +1 -1
  13. package/dist/cjs/Chunk.js +4 -0
  14. package/dist/cjs/Chunk.js.map +1 -1
  15. package/dist/cjs/Config.js +0 -5
  16. package/dist/cjs/Config.js.map +1 -1
  17. package/dist/cjs/Context.js +14 -24
  18. package/dist/cjs/Context.js.map +1 -1
  19. package/dist/cjs/Cron.js +11 -25
  20. package/dist/cjs/Cron.js.map +1 -1
  21. package/dist/cjs/Data.js +6 -0
  22. package/dist/cjs/Data.js.map +1 -1
  23. package/dist/cjs/DateTime.js +2 -0
  24. package/dist/cjs/DateTime.js.map +1 -1
  25. package/dist/cjs/Duration.js +2 -2
  26. package/dist/cjs/Effect.js +122 -53
  27. package/dist/cjs/Effect.js.map +1 -1
  28. package/dist/cjs/Either.js +21 -25
  29. package/dist/cjs/Either.js.map +1 -1
  30. package/dist/cjs/Encoding.js +1 -1
  31. package/dist/cjs/Equivalence.js +1 -1
  32. package/dist/cjs/Function.js +21 -24
  33. package/dist/cjs/Function.js.map +1 -1
  34. package/dist/cjs/HashMap.js +0 -3
  35. package/dist/cjs/HashMap.js.map +1 -1
  36. package/dist/cjs/Iterable.js +9 -2
  37. package/dist/cjs/Iterable.js.map +1 -1
  38. package/dist/cjs/List.js +2 -0
  39. package/dist/cjs/List.js.map +1 -1
  40. package/dist/cjs/Logger.js +0 -2
  41. package/dist/cjs/Logger.js.map +1 -1
  42. package/dist/cjs/Mailbox.js +1 -0
  43. package/dist/cjs/Mailbox.js.map +1 -1
  44. package/dist/cjs/ManagedRuntime.js +0 -2
  45. package/dist/cjs/ManagedRuntime.js.map +1 -1
  46. package/dist/cjs/Metric.js +6 -12
  47. package/dist/cjs/Metric.js.map +1 -1
  48. package/dist/cjs/Number.js +22 -61
  49. package/dist/cjs/Number.js.map +1 -1
  50. package/dist/cjs/Option.js +5 -0
  51. package/dist/cjs/Option.js.map +1 -1
  52. package/dist/cjs/Order.js +1 -0
  53. package/dist/cjs/Order.js.map +1 -1
  54. package/dist/cjs/Ordering.js +2 -7
  55. package/dist/cjs/Ordering.js.map +1 -1
  56. package/dist/cjs/ParseResult.js +14 -8
  57. package/dist/cjs/ParseResult.js.map +1 -1
  58. package/dist/cjs/Pool.js +1 -1
  59. package/dist/cjs/Predicate.js +36 -77
  60. package/dist/cjs/Predicate.js.map +1 -1
  61. package/dist/cjs/Random.js +1 -2
  62. package/dist/cjs/Random.js.map +1 -1
  63. package/dist/cjs/RcMap.js +5 -2
  64. package/dist/cjs/RcMap.js.map +1 -1
  65. package/dist/cjs/Record.js +28 -107
  66. package/dist/cjs/Record.js.map +1 -1
  67. package/dist/cjs/Redacted.js +3 -0
  68. package/dist/cjs/Redacted.js.map +1 -1
  69. package/dist/cjs/RegExp.js +2 -2
  70. package/dist/cjs/RegExp.js.map +1 -1
  71. package/dist/cjs/STM.js +3 -5
  72. package/dist/cjs/STM.js.map +1 -1
  73. package/dist/cjs/Schedule.js +2 -2
  74. package/dist/cjs/Schema.js +19 -16
  75. package/dist/cjs/Schema.js.map +1 -1
  76. package/dist/cjs/SchemaAST.js +0 -2
  77. package/dist/cjs/SchemaAST.js.map +1 -1
  78. package/dist/cjs/Sink.js +14 -10
  79. package/dist/cjs/Sink.js.map +1 -1
  80. package/dist/cjs/Stream.js +24 -25
  81. package/dist/cjs/Stream.js.map +1 -1
  82. package/dist/cjs/String.js +31 -2
  83. package/dist/cjs/String.js.map +1 -1
  84. package/dist/cjs/Struct.js +6 -0
  85. package/dist/cjs/Struct.js.map +1 -1
  86. package/dist/cjs/Symbol.js +1 -2
  87. package/dist/cjs/Symbol.js.map +1 -1
  88. package/dist/cjs/TestClock.js.map +1 -1
  89. package/dist/cjs/Trie.js +28 -0
  90. package/dist/cjs/Trie.js.map +1 -1
  91. package/dist/cjs/Tuple.js +9 -24
  92. package/dist/cjs/Tuple.js.map +1 -1
  93. package/dist/cjs/internal/matcher.js +1 -1
  94. package/dist/cjs/internal/matcher.js.map +1 -1
  95. package/dist/cjs/internal/version.js +1 -1
  96. package/dist/dts/Array.d.ts +1235 -1188
  97. package/dist/dts/Array.d.ts.map +1 -1
  98. package/dist/dts/BigDecimal.d.ts +61 -189
  99. package/dist/dts/BigDecimal.d.ts.map +1 -1
  100. package/dist/dts/BigInt.d.ts +57 -165
  101. package/dist/dts/BigInt.d.ts.map +1 -1
  102. package/dist/dts/Boolean.d.ts +28 -18
  103. package/dist/dts/Boolean.d.ts.map +1 -1
  104. package/dist/dts/Brand.d.ts +3 -3
  105. package/dist/dts/Brand.d.ts.map +1 -1
  106. package/dist/dts/Channel.d.ts +0 -6
  107. package/dist/dts/Channel.d.ts.map +1 -1
  108. package/dist/dts/Chunk.d.ts +15 -0
  109. package/dist/dts/Chunk.d.ts.map +1 -1
  110. package/dist/dts/Config.d.ts +0 -5
  111. package/dist/dts/Config.d.ts.map +1 -1
  112. package/dist/dts/Context.d.ts +26 -54
  113. package/dist/dts/Context.d.ts.map +1 -1
  114. package/dist/dts/Cron.d.ts +9 -23
  115. package/dist/dts/Cron.d.ts.map +1 -1
  116. package/dist/dts/Data.d.ts +8 -0
  117. package/dist/dts/Data.d.ts.map +1 -1
  118. package/dist/dts/DateTime.d.ts +6 -0
  119. package/dist/dts/DateTime.d.ts.map +1 -1
  120. package/dist/dts/Duration.d.ts +2 -2
  121. package/dist/dts/Effect.d.ts +153 -71
  122. package/dist/dts/Effect.d.ts.map +1 -1
  123. package/dist/dts/Either.d.ts +44 -57
  124. package/dist/dts/Either.d.ts.map +1 -1
  125. package/dist/dts/Encoding.d.ts +1 -1
  126. package/dist/dts/Equivalence.d.ts +1 -1
  127. package/dist/dts/Function.d.ts +55 -59
  128. package/dist/dts/Function.d.ts.map +1 -1
  129. package/dist/dts/HashMap.d.ts +0 -9
  130. package/dist/dts/HashMap.d.ts.map +1 -1
  131. package/dist/dts/Iterable.d.ts +13 -2
  132. package/dist/dts/Iterable.d.ts.map +1 -1
  133. package/dist/dts/List.d.ts +10 -0
  134. package/dist/dts/List.d.ts.map +1 -1
  135. package/dist/dts/Logger.d.ts +0 -6
  136. package/dist/dts/Logger.d.ts.map +1 -1
  137. package/dist/dts/Mailbox.d.ts +1 -0
  138. package/dist/dts/Mailbox.d.ts.map +1 -1
  139. package/dist/dts/ManagedRuntime.d.ts +0 -2
  140. package/dist/dts/ManagedRuntime.d.ts.map +1 -1
  141. package/dist/dts/Metric.d.ts +14 -20
  142. package/dist/dts/Metric.d.ts.map +1 -1
  143. package/dist/dts/Micro.d.ts +1 -1
  144. package/dist/dts/Number.d.ts +52 -155
  145. package/dist/dts/Number.d.ts.map +1 -1
  146. package/dist/dts/Option.d.ts +12 -0
  147. package/dist/dts/Option.d.ts.map +1 -1
  148. package/dist/dts/Order.d.ts +1 -0
  149. package/dist/dts/Order.d.ts.map +1 -1
  150. package/dist/dts/Ordering.d.ts +4 -17
  151. package/dist/dts/Ordering.d.ts.map +1 -1
  152. package/dist/dts/Pool.d.ts +1 -1
  153. package/dist/dts/Predicate.d.ts +56 -133
  154. package/dist/dts/Predicate.d.ts.map +1 -1
  155. package/dist/dts/Random.d.ts +1 -2
  156. package/dist/dts/Random.d.ts.map +1 -1
  157. package/dist/dts/RcMap.d.ts +15 -6
  158. package/dist/dts/RcMap.d.ts.map +1 -1
  159. package/dist/dts/Record.d.ts +68 -279
  160. package/dist/dts/Record.d.ts.map +1 -1
  161. package/dist/dts/Redacted.d.ts +3 -0
  162. package/dist/dts/Redacted.d.ts.map +1 -1
  163. package/dist/dts/RegExp.d.ts +2 -2
  164. package/dist/dts/RegExp.d.ts.map +1 -1
  165. package/dist/dts/STM.d.ts +5 -7
  166. package/dist/dts/STM.d.ts.map +1 -1
  167. package/dist/dts/Schedule.d.ts +7 -7
  168. package/dist/dts/Schema.d.ts +32 -26
  169. package/dist/dts/Schema.d.ts.map +1 -1
  170. package/dist/dts/SchemaAST.d.ts +0 -2
  171. package/dist/dts/SchemaAST.d.ts.map +1 -1
  172. package/dist/dts/Sink.d.ts +14 -10
  173. package/dist/dts/Sink.d.ts.map +1 -1
  174. package/dist/dts/Stream.d.ts +58 -62
  175. package/dist/dts/Stream.d.ts.map +1 -1
  176. package/dist/dts/String.d.ts +47 -2
  177. package/dist/dts/String.d.ts.map +1 -1
  178. package/dist/dts/Struct.d.ts +12 -0
  179. package/dist/dts/Struct.d.ts.map +1 -1
  180. package/dist/dts/Symbol.d.ts +1 -2
  181. package/dist/dts/Symbol.d.ts.map +1 -1
  182. package/dist/dts/TestClock.d.ts +2 -1
  183. package/dist/dts/TestClock.d.ts.map +1 -1
  184. package/dist/dts/Trie.d.ts +66 -0
  185. package/dist/dts/Trie.d.ts.map +1 -1
  186. package/dist/dts/Tuple.d.ts +21 -62
  187. package/dist/dts/Tuple.d.ts.map +1 -1
  188. package/dist/dts/Utils.d.ts +8 -8
  189. package/dist/esm/Array.js +474 -442
  190. package/dist/esm/Array.js.map +1 -1
  191. package/dist/esm/BigDecimal.js +31 -89
  192. package/dist/esm/BigDecimal.js.map +1 -1
  193. package/dist/esm/BigInt.js +27 -71
  194. package/dist/esm/BigInt.js.map +1 -1
  195. package/dist/esm/Boolean.js +12 -10
  196. package/dist/esm/Boolean.js.map +1 -1
  197. package/dist/esm/Brand.js +2 -0
  198. package/dist/esm/Brand.js.map +1 -1
  199. package/dist/esm/Channel.js +0 -2
  200. package/dist/esm/Channel.js.map +1 -1
  201. package/dist/esm/Chunk.js +4 -0
  202. package/dist/esm/Chunk.js.map +1 -1
  203. package/dist/esm/Config.js +0 -5
  204. package/dist/esm/Config.js.map +1 -1
  205. package/dist/esm/Context.js +14 -24
  206. package/dist/esm/Context.js.map +1 -1
  207. package/dist/esm/Cron.js +11 -25
  208. package/dist/esm/Cron.js.map +1 -1
  209. package/dist/esm/Data.js +7 -0
  210. package/dist/esm/Data.js.map +1 -1
  211. package/dist/esm/DateTime.js +2 -0
  212. package/dist/esm/DateTime.js.map +1 -1
  213. package/dist/esm/Duration.js +2 -2
  214. package/dist/esm/Effect.js +123 -53
  215. package/dist/esm/Effect.js.map +1 -1
  216. package/dist/esm/Either.js +22 -25
  217. package/dist/esm/Either.js.map +1 -1
  218. package/dist/esm/Encoding.js +1 -1
  219. package/dist/esm/Equivalence.js +1 -1
  220. package/dist/esm/Function.js +21 -24
  221. package/dist/esm/Function.js.map +1 -1
  222. package/dist/esm/HashMap.js +0 -3
  223. package/dist/esm/HashMap.js.map +1 -1
  224. package/dist/esm/Iterable.js +9 -2
  225. package/dist/esm/Iterable.js.map +1 -1
  226. package/dist/esm/List.js +2 -0
  227. package/dist/esm/List.js.map +1 -1
  228. package/dist/esm/Logger.js +0 -2
  229. package/dist/esm/Logger.js.map +1 -1
  230. package/dist/esm/Mailbox.js +1 -0
  231. package/dist/esm/Mailbox.js.map +1 -1
  232. package/dist/esm/ManagedRuntime.js +0 -2
  233. package/dist/esm/ManagedRuntime.js.map +1 -1
  234. package/dist/esm/Metric.js +6 -12
  235. package/dist/esm/Metric.js.map +1 -1
  236. package/dist/esm/Micro.js +1 -1
  237. package/dist/esm/Number.js +22 -61
  238. package/dist/esm/Number.js.map +1 -1
  239. package/dist/esm/Option.js +6 -0
  240. package/dist/esm/Option.js.map +1 -1
  241. package/dist/esm/Order.js +1 -0
  242. package/dist/esm/Order.js.map +1 -1
  243. package/dist/esm/Ordering.js +2 -7
  244. package/dist/esm/Ordering.js.map +1 -1
  245. package/dist/esm/ParseResult.js +14 -8
  246. package/dist/esm/ParseResult.js.map +1 -1
  247. package/dist/esm/Pool.js +1 -1
  248. package/dist/esm/Predicate.js +36 -77
  249. package/dist/esm/Predicate.js.map +1 -1
  250. package/dist/esm/Random.js +1 -2
  251. package/dist/esm/Random.js.map +1 -1
  252. package/dist/esm/RcMap.js +5 -2
  253. package/dist/esm/RcMap.js.map +1 -1
  254. package/dist/esm/Record.js +28 -107
  255. package/dist/esm/Record.js.map +1 -1
  256. package/dist/esm/Redacted.js +3 -0
  257. package/dist/esm/Redacted.js.map +1 -1
  258. package/dist/esm/RegExp.js +2 -2
  259. package/dist/esm/RegExp.js.map +1 -1
  260. package/dist/esm/STM.js +3 -5
  261. package/dist/esm/STM.js.map +1 -1
  262. package/dist/esm/Schedule.js +2 -2
  263. package/dist/esm/Schema.js +19 -16
  264. package/dist/esm/Schema.js.map +1 -1
  265. package/dist/esm/SchemaAST.js +0 -2
  266. package/dist/esm/SchemaAST.js.map +1 -1
  267. package/dist/esm/Sink.js +14 -10
  268. package/dist/esm/Sink.js.map +1 -1
  269. package/dist/esm/Stream.js +25 -25
  270. package/dist/esm/Stream.js.map +1 -1
  271. package/dist/esm/String.js +31 -2
  272. package/dist/esm/String.js.map +1 -1
  273. package/dist/esm/Struct.js +6 -0
  274. package/dist/esm/Struct.js.map +1 -1
  275. package/dist/esm/Symbol.js +1 -2
  276. package/dist/esm/Symbol.js.map +1 -1
  277. package/dist/esm/TestClock.js.map +1 -1
  278. package/dist/esm/Trie.js +28 -0
  279. package/dist/esm/Trie.js.map +1 -1
  280. package/dist/esm/Tuple.js +11 -30
  281. package/dist/esm/Tuple.js.map +1 -1
  282. package/dist/esm/internal/matcher.js +1 -1
  283. package/dist/esm/internal/matcher.js.map +1 -1
  284. package/dist/esm/internal/version.js +1 -1
  285. package/package.json +1 -1
  286. package/src/Array.ts +1235 -1188
  287. package/src/BigDecimal.ts +61 -189
  288. package/src/BigInt.ts +57 -165
  289. package/src/Boolean.ts +28 -18
  290. package/src/Brand.ts +3 -3
  291. package/src/Channel.ts +0 -6
  292. package/src/Chunk.ts +16 -0
  293. package/src/Config.ts +0 -5
  294. package/src/Context.ts +26 -54
  295. package/src/Cron.ts +11 -25
  296. package/src/Data.ts +8 -0
  297. package/src/DateTime.ts +6 -0
  298. package/src/Duration.ts +2 -2
  299. package/src/Effect.ts +153 -71
  300. package/src/Either.ts +45 -58
  301. package/src/Encoding.ts +1 -1
  302. package/src/Equivalence.ts +1 -1
  303. package/src/Function.ts +55 -59
  304. package/src/HashMap.ts +0 -9
  305. package/src/Iterable.ts +13 -2
  306. package/src/List.ts +12 -0
  307. package/src/Logger.ts +0 -6
  308. package/src/Mailbox.ts +1 -0
  309. package/src/ManagedRuntime.ts +0 -2
  310. package/src/Metric.ts +14 -20
  311. package/src/Micro.ts +1 -1
  312. package/src/Number.ts +52 -155
  313. package/src/Option.ts +12 -0
  314. package/src/Order.ts +1 -0
  315. package/src/Ordering.ts +4 -17
  316. package/src/ParseResult.ts +16 -9
  317. package/src/Pool.ts +1 -1
  318. package/src/Predicate.ts +56 -133
  319. package/src/Random.ts +1 -2
  320. package/src/RcMap.ts +15 -6
  321. package/src/Record.ts +68 -279
  322. package/src/Redacted.ts +3 -0
  323. package/src/RegExp.ts +2 -2
  324. package/src/STM.ts +5 -7
  325. package/src/Schedule.ts +7 -7
  326. package/src/Schema.ts +37 -28
  327. package/src/SchemaAST.ts +0 -2
  328. package/src/Sink.ts +14 -10
  329. package/src/Stream.ts +56 -61
  330. package/src/String.ts +47 -2
  331. package/src/Struct.ts +12 -0
  332. package/src/Symbol.ts +1 -2
  333. package/src/TestClock.ts +2 -1
  334. package/src/Trie.ts +66 -0
  335. package/src/Tuple.ts +21 -62
  336. package/src/Utils.ts +8 -8
  337. package/src/internal/matcher.ts +1 -1
  338. package/src/internal/version.ts +1 -1
@@ -255,28 +255,22 @@ export declare const aggregate: {
255
255
  <A, E, R, B, A2, E2, R2>(self: Stream<A, E, R>, sink: Sink.Sink<B, A | A2, A2, E2, R2>): Stream<B, E | E2, R | R2>;
256
256
  };
257
257
  /**
258
- * Like `aggregateWithinEither`, but only returns the `Right` results.
258
+ * Like {@link aggregateWithinEither}, but only returns the `Right` results.
259
259
  *
260
- * @param sink A `Sink` used to perform the aggregation.
261
- * @param schedule A `Schedule` used to signal when to stop the aggregation.
262
260
  * @since 2.0.0
263
261
  * @category utils
264
262
  */
265
263
  export declare const aggregateWithin: {
266
264
  /**
267
- * Like `aggregateWithinEither`, but only returns the `Right` results.
265
+ * Like {@link aggregateWithinEither}, but only returns the `Right` results.
268
266
  *
269
- * @param sink A `Sink` used to perform the aggregation.
270
- * @param schedule A `Schedule` used to signal when to stop the aggregation.
271
267
  * @since 2.0.0
272
268
  * @category utils
273
269
  */
274
270
  <B, A, A2, E2, R2, C, R3>(sink: Sink.Sink<B, A | A2, A2, E2, R2>, schedule: Schedule.Schedule<C, Option.Option<B>, R3>): <E, R>(self: Stream<A, E, R>) => Stream<B, E2 | E, R2 | R3 | R>;
275
271
  /**
276
- * Like `aggregateWithinEither`, but only returns the `Right` results.
272
+ * Like {@link aggregateWithinEither}, but only returns the `Right` results.
277
273
  *
278
- * @param sink A `Sink` used to perform the aggregation.
279
- * @param schedule A `Schedule` used to signal when to stop the aggregation.
280
274
  * @since 2.0.0
281
275
  * @category utils
282
276
  */
@@ -294,8 +288,6 @@ export declare const aggregateWithin: {
294
288
  * Aggregated elements will be fed into the schedule to determine the delays
295
289
  * between pulls.
296
290
  *
297
- * @param sink A `Sink` used to perform the aggregation.
298
- * @param schedule A `Schedule` used to signal when to stop the aggregation.
299
291
  * @since 2.0.0
300
292
  * @category utils
301
293
  */
@@ -312,8 +304,6 @@ export declare const aggregateWithinEither: {
312
304
  * Aggregated elements will be fed into the schedule to determine the delays
313
305
  * between pulls.
314
306
  *
315
- * @param sink A `Sink` used to perform the aggregation.
316
- * @param schedule A `Schedule` used to signal when to stop the aggregation.
317
307
  * @since 2.0.0
318
308
  * @category utils
319
309
  */
@@ -330,8 +320,6 @@ export declare const aggregateWithinEither: {
330
320
  * Aggregated elements will be fed into the schedule to determine the delays
331
321
  * between pulls.
332
322
  *
333
- * @param sink A `Sink` used to perform the aggregation.
334
- * @param schedule A `Schedule` used to signal when to stop the aggregation.
335
323
  * @since 2.0.0
336
324
  * @category utils
337
325
  */
@@ -2885,12 +2873,6 @@ export declare const flattenEffect: {
2885
2873
  /**
2886
2874
  * Unwraps `Exit` values that also signify end-of-stream by failing with `None`.
2887
2875
  *
2888
- * For `Exit` values that do not signal end-of-stream, prefer:
2889
- *
2890
- * ```ts
2891
- * stream.mapZIO(ZIO.done(_))
2892
- * ```
2893
- *
2894
2876
  * @since 2.0.0
2895
2877
  * @category sequencing
2896
2878
  */
@@ -2978,7 +2960,10 @@ export declare const fromChunk: <A>(chunk: Chunk.Chunk<A>) => Stream<A>;
2978
2960
  /**
2979
2961
  * Creates a stream from a subscription to a `PubSub`.
2980
2962
  *
2981
- * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
2963
+ * **Options**
2964
+ *
2965
+ * - `shutdown`: If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
2966
+ *
2982
2967
  * @since 2.0.0
2983
2968
  * @category constructors
2984
2969
  */
@@ -2986,7 +2971,10 @@ export declare const fromChunkPubSub: {
2986
2971
  /**
2987
2972
  * Creates a stream from a subscription to a `PubSub`.
2988
2973
  *
2989
- * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
2974
+ * **Options**
2975
+ *
2976
+ * - `shutdown`: If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
2977
+ *
2990
2978
  * @since 2.0.0
2991
2979
  * @category constructors
2992
2980
  */
@@ -2997,7 +2985,10 @@ export declare const fromChunkPubSub: {
2997
2985
  /**
2998
2986
  * Creates a stream from a subscription to a `PubSub`.
2999
2987
  *
3000
- * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
2988
+ * **Options**
2989
+ *
2990
+ * - `shutdown`: If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
2991
+ *
3001
2992
  * @since 2.0.0
3002
2993
  * @category constructors
3003
2994
  */
@@ -3009,7 +3000,10 @@ export declare const fromChunkPubSub: {
3009
3000
  /**
3010
3001
  * Creates a stream from a `Queue` of values.
3011
3002
  *
3012
- * @param shutdown If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
3003
+ * **Options**
3004
+ *
3005
+ * - `shutdown`: If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
3006
+ *
3013
3007
  * @since 2.0.0
3014
3008
  * @category constructors
3015
3009
  */
@@ -3063,7 +3057,10 @@ export declare const fromEffectOption: <A, E, R>(effect: Effect.Effect<A, Option
3063
3057
  /**
3064
3058
  * Creates a stream from a subscription to a `PubSub`.
3065
3059
  *
3066
- * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
3060
+ * **Options**
3061
+ *
3062
+ * - `shutdown`: If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
3063
+ *
3067
3064
  * @since 2.0.0
3068
3065
  * @category constructors
3069
3066
  */
@@ -3071,7 +3068,10 @@ export declare const fromPubSub: {
3071
3068
  /**
3072
3069
  * Creates a stream from a subscription to a `PubSub`.
3073
3070
  *
3074
- * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
3071
+ * **Options**
3072
+ *
3073
+ * - `shutdown`: If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
3074
+ *
3075
3075
  * @since 2.0.0
3076
3076
  * @category constructors
3077
3077
  */
@@ -3083,7 +3083,10 @@ export declare const fromPubSub: {
3083
3083
  /**
3084
3084
  * Creates a stream from a subscription to a `PubSub`.
3085
3085
  *
3086
- * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
3086
+ * **Options**
3087
+ *
3088
+ * - `shutdown`: If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
3089
+ *
3087
3090
  * @since 2.0.0
3088
3091
  * @category constructors
3089
3092
  */
@@ -3164,8 +3167,11 @@ export declare const fromPull: <R, R2, E, A>(effect: Effect.Effect<Effect.Effect
3164
3167
  /**
3165
3168
  * Creates a stream from a queue of values
3166
3169
  *
3167
- * @param maxChunkSize The maximum number of queued elements to put in one chunk in the stream
3168
- * @param shutdown If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
3170
+ * **Options**
3171
+ *
3172
+ * - `maxChunkSize`: The maximum number of queued elements to put in one chunk in the stream
3173
+ * - `shutdown`: If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
3174
+ *
3169
3175
  * @since 2.0.0
3170
3176
  * @category constructors
3171
3177
  */
@@ -3217,7 +3223,6 @@ export declare const fromReadableStream: {
3217
3223
  *
3218
3224
  * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader.
3219
3225
  *
3220
- * @param allocSize Controls the size of the underlying `ArrayBuffer` (defaults to `4096`).
3221
3226
  * @since 2.0.0
3222
3227
  * @category constructors
3223
3228
  */
@@ -3227,7 +3232,6 @@ export declare const fromReadableStreamByob: {
3227
3232
  *
3228
3233
  * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader.
3229
3234
  *
3230
- * @param allocSize Controls the size of the underlying `ArrayBuffer` (defaults to `4096`).
3231
3235
  * @since 2.0.0
3232
3236
  * @category constructors
3233
3237
  */
@@ -3242,11 +3246,12 @@ export declare const fromReadableStreamByob: {
3242
3246
  *
3243
3247
  * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader.
3244
3248
  *
3245
- * @param allocSize Controls the size of the underlying `ArrayBuffer` (defaults to `4096`).
3246
3249
  * @since 2.0.0
3247
3250
  * @category constructors
3248
3251
  */
3249
- <E>(evaluate: LazyArg<ReadableStream<Uint8Array>>, onError: (error: unknown) => E, allocSize?: number): Stream<Uint8Array, E>;
3252
+ <E>(evaluate: LazyArg<ReadableStream<Uint8Array>>, onError: (error: unknown) => E,
3253
+ /** Controls the size of the underlying `ArrayBuffer` (defaults to `4096`) */
3254
+ allocSize?: number): Stream<Uint8Array, E>;
3250
3255
  };
3251
3256
  /**
3252
3257
  * Creates a stream from a `Schedule` that does not require any further
@@ -3433,9 +3438,7 @@ export declare const groupBy: {
3433
3438
  * stream of words:
3434
3439
  *
3435
3440
  * ```ts
3436
- * import * as GroupBy from "./GroupBy"
3437
- * import * as Stream from "./Stream"
3438
- * import { pipe } from "./Function"
3441
+ * import { pipe, GroupBy, Stream } from "effect"
3439
3442
  *
3440
3443
  * pipe(
3441
3444
  * Stream.fromIterable(["hello", "world", "hi", "holla"]),
@@ -3471,9 +3474,7 @@ export declare const groupByKey: {
3471
3474
  * stream of words:
3472
3475
  *
3473
3476
  * ```ts
3474
- * import * as GroupBy from "./GroupBy"
3475
- * import * as Stream from "./Stream"
3476
- * import { pipe } from "./Function"
3477
+ * import { pipe, GroupBy, Stream } from "effect"
3477
3478
  *
3478
3479
  * pipe(
3479
3480
  * Stream.fromIterable(["hello", "world", "hi", "holla"]),
@@ -3511,9 +3512,7 @@ export declare const groupByKey: {
3511
3512
  * stream of words:
3512
3513
  *
3513
3514
  * ```ts
3514
- * import * as GroupBy from "./GroupBy"
3515
- * import * as Stream from "./Stream"
3516
- * import { pipe } from "./Function"
3515
+ * import { pipe, GroupBy, Stream } from "effect"
3517
3516
  *
3518
3517
  * pipe(
3519
3518
  * Stream.fromIterable(["hello", "world", "hi", "holla"]),
@@ -6853,7 +6852,6 @@ export declare const repeatWith: {
6853
6852
  * The schedule is reset as soon as the first element passes through the
6854
6853
  * stream again.
6855
6854
  *
6856
- * @param schedule A `Schedule` receiving as input the errors of the stream.
6857
6855
  * @since 2.0.0
6858
6856
  * @category utils
6859
6857
  */
@@ -6867,7 +6865,6 @@ export declare const retry: {
6867
6865
  * The schedule is reset as soon as the first element passes through the
6868
6866
  * stream again.
6869
6867
  *
6870
- * @param schedule A `Schedule` receiving as input the errors of the stream.
6871
6868
  * @since 2.0.0
6872
6869
  * @category utils
6873
6870
  */
@@ -6881,7 +6878,6 @@ export declare const retry: {
6881
6878
  * The schedule is reset as soon as the first element passes through the
6882
6879
  * stream again.
6883
6880
  *
6884
- * @param schedule A `Schedule` receiving as input the errors of the stream.
6885
6881
  * @since 2.0.0
6886
6882
  * @category utils
6887
6883
  */
@@ -7686,8 +7682,7 @@ export declare const scopedWith: <A, E, R>(f: (scope: Scope.Scope) => Effect.Eff
7686
7682
  * Emits a sliding window of `n` elements.
7687
7683
  *
7688
7684
  * ```ts
7689
- * import * as Stream from "./Stream"
7690
- * import { pipe } from "./Function"
7685
+ * import { pipe, Stream } from "effect"
7691
7686
  *
7692
7687
  * pipe(
7693
7688
  * Stream.make(1, 2, 3, 4),
@@ -7705,8 +7700,7 @@ export declare const sliding: {
7705
7700
  * Emits a sliding window of `n` elements.
7706
7701
  *
7707
7702
  * ```ts
7708
- * import * as Stream from "./Stream"
7709
- * import { pipe } from "./Function"
7703
+ * import { pipe, Stream } from "effect"
7710
7704
  *
7711
7705
  * pipe(
7712
7706
  * Stream.make(1, 2, 3, 4),
@@ -7724,8 +7718,7 @@ export declare const sliding: {
7724
7718
  * Emits a sliding window of `n` elements.
7725
7719
  *
7726
7720
  * ```ts
7727
- * import * as Stream from "./Stream"
7728
- * import { pipe } from "./Function"
7721
+ * import { pipe, Stream } from "effect"
7729
7722
  *
7730
7723
  * pipe(
7731
7724
  * Stream.make(1, 2, 3, 4),
@@ -7817,8 +7810,7 @@ export declare const someOrFail: {
7817
7810
  * Splits elements based on a predicate or refinement.
7818
7811
  *
7819
7812
  * ```ts
7820
- * import * as Stream from "./Stream"
7821
- * import { pipe } from "./Function"
7813
+ * import { pipe, Stream } from "effect"
7822
7814
  *
7823
7815
  * pipe(
7824
7816
  * Stream.range(1, 10),
@@ -7836,8 +7828,7 @@ export declare const split: {
7836
7828
  * Splits elements based on a predicate or refinement.
7837
7829
  *
7838
7830
  * ```ts
7839
- * import * as Stream from "./Stream"
7840
- * import { pipe } from "./Function"
7831
+ * import { pipe, Stream } from "effect"
7841
7832
  *
7842
7833
  * pipe(
7843
7834
  * Stream.range(1, 10),
@@ -7855,8 +7846,7 @@ export declare const split: {
7855
7846
  * Splits elements based on a predicate or refinement.
7856
7847
  *
7857
7848
  * ```ts
7858
- * import * as Stream from "./Stream"
7859
- * import { pipe } from "./Function"
7849
+ * import { pipe, Stream } from "effect"
7860
7850
  *
7861
7851
  * pipe(
7862
7852
  * Stream.range(1, 10),
@@ -7874,8 +7864,7 @@ export declare const split: {
7874
7864
  * Splits elements based on a predicate or refinement.
7875
7865
  *
7876
7866
  * ```ts
7877
- * import * as Stream from "./Stream"
7878
- * import { pipe } from "./Function"
7867
+ * import { pipe, Stream } from "effect"
7879
7868
  *
7880
7869
  * pipe(
7881
7870
  * Stream.range(1, 10),
@@ -7893,8 +7882,7 @@ export declare const split: {
7893
7882
  * Splits elements based on a predicate or refinement.
7894
7883
  *
7895
7884
  * ```ts
7896
- * import * as Stream from "./Stream"
7897
- * import { pipe } from "./Function"
7885
+ * import { pipe, Stream } from "effect"
7898
7886
  *
7899
7887
  * pipe(
7900
7888
  * Stream.range(1, 10),
@@ -10323,6 +10311,7 @@ export declare const zipWithIndex: <A, E, R>(self: Stream<A, E, R>) => Stream<[A
10323
10311
  *
10324
10312
  * @example
10325
10313
  * ```ts
10314
+ * import * as assert from "node:assert"
10326
10315
  * import { Chunk, Effect, pipe, Stream } from "effect"
10327
10316
  *
10328
10317
  * const result = pipe(
@@ -10355,6 +10344,7 @@ export declare const Do: Stream<{}>;
10355
10344
  *
10356
10345
  * @example
10357
10346
  * ```ts
10347
+ * import * as assert from "node:assert"
10358
10348
  * import { Chunk, Effect, pipe, Stream } from "effect"
10359
10349
  *
10360
10350
  * const result = pipe(
@@ -10387,6 +10377,7 @@ export declare const bind: {
10387
10377
  *
10388
10378
  * @example
10389
10379
  * ```ts
10380
+ * import * as assert from "node:assert"
10390
10381
  * import { Chunk, Effect, pipe, Stream } from "effect"
10391
10382
  *
10392
10383
  * const result = pipe(
@@ -10424,6 +10415,7 @@ export declare const bind: {
10424
10415
  *
10425
10416
  * @example
10426
10417
  * ```ts
10418
+ * import * as assert from "node:assert"
10427
10419
  * import { Chunk, Effect, pipe, Stream } from "effect"
10428
10420
  *
10429
10421
  * const result = pipe(
@@ -10509,6 +10501,7 @@ export declare const bindEffect: {
10509
10501
  *
10510
10502
  * @example
10511
10503
  * ```ts
10504
+ * import * as assert from "node:assert"
10512
10505
  * import { Chunk, Effect, pipe, Stream } from "effect"
10513
10506
  *
10514
10507
  * const result = pipe(
@@ -10541,6 +10534,7 @@ export declare const bindTo: {
10541
10534
  *
10542
10535
  * @example
10543
10536
  * ```ts
10537
+ * import * as assert from "node:assert"
10544
10538
  * import { Chunk, Effect, pipe, Stream } from "effect"
10545
10539
  *
10546
10540
  * const result = pipe(
@@ -10575,6 +10569,7 @@ export declare const bindTo: {
10575
10569
  *
10576
10570
  * @example
10577
10571
  * ```ts
10572
+ * import * as assert from "node:assert"
10578
10573
  * import { Chunk, Effect, pipe, Stream } from "effect"
10579
10574
  *
10580
10575
  * const result = pipe(
@@ -10619,6 +10614,7 @@ export {
10619
10614
  *
10620
10615
  * @example
10621
10616
  * ```ts
10617
+ * import * as assert from "node:assert"
10622
10618
  * import { Chunk, Effect, pipe, Stream } from "effect"
10623
10619
  *
10624
10620
  * const result = pipe(