effect 4.0.0-beta.72 → 4.0.0-beta.74

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 (361) hide show
  1. package/dist/Array.d.ts +16 -16
  2. package/dist/Array.js +4 -4
  3. package/dist/Boolean.d.ts +2 -2
  4. package/dist/Boolean.js +2 -2
  5. package/dist/Channel.d.ts +63 -63
  6. package/dist/Channel.js +25 -25
  7. package/dist/Chunk.d.ts +17 -17
  8. package/dist/Chunk.js +5 -5
  9. package/dist/Context.d.ts +3 -3
  10. package/dist/Context.js +1 -1
  11. package/dist/Cron.d.ts +4 -4
  12. package/dist/Cron.js +4 -4
  13. package/dist/Deferred.d.ts +37 -37
  14. package/dist/Deferred.js +13 -13
  15. package/dist/Duration.d.ts +6 -6
  16. package/dist/Duration.js +2 -2
  17. package/dist/Effect.d.ts +58 -58
  18. package/dist/Effect.js +39 -39
  19. package/dist/Equal.d.ts +2 -2
  20. package/dist/Equal.js +2 -2
  21. package/dist/Equivalence.d.ts +1 -1
  22. package/dist/Equivalence.js +1 -1
  23. package/dist/ExecutionPlan.d.ts +2 -2
  24. package/dist/ExecutionPlan.js +1 -1
  25. package/dist/FileSystem.d.ts +6 -6
  26. package/dist/FileSystem.js +2 -2
  27. package/dist/Function.d.ts +5 -5
  28. package/dist/Function.js +5 -5
  29. package/dist/Graph.d.ts +11 -11
  30. package/dist/Graph.js +5 -5
  31. package/dist/HKT.d.ts +1 -1
  32. package/dist/HashMap.d.ts +3 -3
  33. package/dist/HashSet.d.ts +1 -1
  34. package/dist/Iterable.d.ts +15 -15
  35. package/dist/Iterable.js +5 -5
  36. package/dist/Layer.d.ts +16 -16
  37. package/dist/Layer.js +5 -5
  38. package/dist/Logger.d.ts +5 -5
  39. package/dist/Logger.js +4 -4
  40. package/dist/ManagedRuntime.d.ts +2 -2
  41. package/dist/Match.d.ts +20 -20
  42. package/dist/Match.js +16 -16
  43. package/dist/Metric.d.ts +16 -16
  44. package/dist/Metric.js +3 -3
  45. package/dist/Option.d.ts +36 -36
  46. package/dist/Option.js +17 -17
  47. package/dist/Order.d.ts +1 -1
  48. package/dist/Order.js +1 -1
  49. package/dist/Path.d.ts +1 -1
  50. package/dist/Path.js +1 -1
  51. package/dist/Pipeable.d.ts +1 -1
  52. package/dist/Pipeable.js +1 -1
  53. package/dist/Predicate.d.ts +5 -5
  54. package/dist/PubSub.d.ts +9 -9
  55. package/dist/PubSub.js +5 -5
  56. package/dist/Queue.d.ts +24 -24
  57. package/dist/Queue.js +20 -20
  58. package/dist/Record.d.ts +15 -15
  59. package/dist/Record.js +5 -5
  60. package/dist/Redacted.d.ts +2 -2
  61. package/dist/Redacted.js +1 -1
  62. package/dist/Ref.d.ts +6 -6
  63. package/dist/Ref.js +6 -6
  64. package/dist/RegExp.d.ts +1 -1
  65. package/dist/RegExp.js +1 -1
  66. package/dist/Request.d.ts +4 -4
  67. package/dist/RequestResolver.d.ts +6 -6
  68. package/dist/RequestResolver.js +2 -2
  69. package/dist/Resource.d.ts +1 -1
  70. package/dist/Resource.js +1 -1
  71. package/dist/Result.d.ts +18 -18
  72. package/dist/Result.js +11 -11
  73. package/dist/Schedule.d.ts +44 -44
  74. package/dist/Schedule.js +18 -18
  75. package/dist/Schema.d.ts +177 -459
  76. package/dist/Schema.d.ts.map +1 -1
  77. package/dist/Schema.js +25 -25
  78. package/dist/Schema.js.map +1 -1
  79. package/dist/SchemaAST.d.ts +1 -1
  80. package/dist/SchemaGetter.d.ts +13 -13
  81. package/dist/SchemaGetter.js +12 -12
  82. package/dist/SchemaParser.d.ts +3 -3
  83. package/dist/SchemaParser.js +3 -3
  84. package/dist/Scope.d.ts +1 -1
  85. package/dist/Scope.js +1 -1
  86. package/dist/Sink.d.ts +5 -5
  87. package/dist/Sink.js +3 -3
  88. package/dist/Stream.d.ts +55 -55
  89. package/dist/Stream.js +21 -21
  90. package/dist/String.d.ts +5 -5
  91. package/dist/String.js +3 -3
  92. package/dist/Struct.d.ts +8 -8
  93. package/dist/Struct.js +3 -3
  94. package/dist/SynchronizedRef.d.ts +57 -57
  95. package/dist/SynchronizedRef.js +19 -19
  96. package/dist/Terminal.d.ts +1 -1
  97. package/dist/Terminal.js +1 -1
  98. package/dist/Tracer.d.ts +5 -5
  99. package/dist/Tracer.js +2 -2
  100. package/dist/Tuple.d.ts +14 -14
  101. package/dist/Tuple.js +6 -6
  102. package/dist/TxHashMap.d.ts +3 -3
  103. package/dist/TxHashSet.d.ts +1 -1
  104. package/dist/Unify.d.ts +7 -7
  105. package/dist/Unify.js +1 -1
  106. package/dist/testing/TestClock.d.ts +5 -5
  107. package/dist/testing/TestClock.js +4 -4
  108. package/dist/testing/TestConsole.d.ts +3 -3
  109. package/dist/testing/TestConsole.js +3 -3
  110. package/dist/unstable/ai/Chat.d.ts +2 -2
  111. package/dist/unstable/ai/Chat.js +2 -2
  112. package/dist/unstable/ai/EmbeddingModel.d.ts +1 -1
  113. package/dist/unstable/ai/IdGenerator.d.ts +2 -2
  114. package/dist/unstable/ai/IdGenerator.js +1 -1
  115. package/dist/unstable/ai/LanguageModel.d.ts +4 -4
  116. package/dist/unstable/ai/LanguageModel.js +1 -1
  117. package/dist/unstable/ai/Prompt.d.ts +15 -15
  118. package/dist/unstable/ai/Prompt.js +1 -1
  119. package/dist/unstable/ai/Telemetry.d.ts +5 -5
  120. package/dist/unstable/ai/Telemetry.js +2 -2
  121. package/dist/unstable/ai/Tokenizer.d.ts +1 -1
  122. package/dist/unstable/ai/Tokenizer.js +1 -1
  123. package/dist/unstable/ai/Tool.d.ts +6 -6
  124. package/dist/unstable/ai/Tool.js +6 -6
  125. package/dist/unstable/cli/Command.d.ts.map +1 -1
  126. package/dist/unstable/cli/Command.js +1 -1
  127. package/dist/unstable/cli/Command.js.map +1 -1
  128. package/dist/unstable/cli/Param.d.ts +1 -1
  129. package/dist/unstable/cli/Primitive.d.ts +3 -3
  130. package/dist/unstable/cli/Primitive.js +1 -1
  131. package/dist/unstable/cli/Prompt.d.ts +11 -11
  132. package/dist/unstable/cli/internal/parser.js +145 -10
  133. package/dist/unstable/cli/internal/parser.js.map +1 -1
  134. package/dist/unstable/cluster/Entity.d.ts +1 -1
  135. package/dist/unstable/cluster/Entity.js +1 -1
  136. package/dist/unstable/cluster/EntityResource.d.ts +1 -0
  137. package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
  138. package/dist/unstable/cluster/EntityResource.js +5 -3
  139. package/dist/unstable/cluster/EntityResource.js.map +1 -1
  140. package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
  141. package/dist/unstable/cluster/HttpRunner.js +2 -2
  142. package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
  143. package/dist/unstable/cluster/K8sHttpClient.js +1 -1
  144. package/dist/unstable/cluster/Runners.d.ts +1 -1
  145. package/dist/unstable/cluster/Runners.js +1 -1
  146. package/dist/unstable/cluster/Sharding.d.ts +1 -1
  147. package/dist/unstable/cluster/Sharding.js +1 -1
  148. package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
  149. package/dist/unstable/cluster/SingletonAddress.js +1 -1
  150. package/dist/unstable/cluster/Snowflake.d.ts +5 -5
  151. package/dist/unstable/cluster/Snowflake.js +5 -5
  152. package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
  153. package/dist/unstable/devtools/DevToolsClient.js +1 -1
  154. package/dist/unstable/eventlog/EventLog.d.ts +1 -1
  155. package/dist/unstable/eventlog/EventLog.js +1 -1
  156. package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
  157. package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
  158. package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
  159. package/dist/unstable/eventlog/EventLogRemote.js +1 -1
  160. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
  161. package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
  162. package/dist/unstable/http/Cookies.d.ts +1 -1
  163. package/dist/unstable/http/Etag.d.ts +1 -1
  164. package/dist/unstable/http/Etag.js +1 -1
  165. package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
  166. package/dist/unstable/http/FetchHttpClient.js +2 -2
  167. package/dist/unstable/http/HttpClient.d.ts +1 -1
  168. package/dist/unstable/http/HttpClient.js +1 -1
  169. package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
  170. package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
  171. package/dist/unstable/http/HttpMiddleware.js +1 -1
  172. package/dist/unstable/http/HttpPlatform.d.ts +1 -1
  173. package/dist/unstable/http/HttpPlatform.js +1 -1
  174. package/dist/unstable/http/HttpRouter.d.ts +4 -4
  175. package/dist/unstable/http/HttpRouter.js +4 -4
  176. package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
  177. package/dist/unstable/http/Url.d.ts +33 -33
  178. package/dist/unstable/http/Url.js +11 -11
  179. package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
  180. package/dist/unstable/httpapi/HttpApi.js +1 -1
  181. package/dist/unstable/httpapi/HttpApiBuilder.js +2 -3
  182. package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
  183. package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
  184. package/dist/unstable/httpapi/HttpApiError.js +13 -13
  185. package/dist/unstable/httpapi/HttpApiSecurity.d.ts +27 -5
  186. package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
  187. package/dist/unstable/httpapi/HttpApiSecurity.js +26 -3
  188. package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
  189. package/dist/unstable/httpapi/OpenApi.js +2 -2
  190. package/dist/unstable/httpapi/OpenApi.js.map +1 -1
  191. package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
  192. package/dist/unstable/observability/PrometheusMetrics.js +2 -2
  193. package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
  194. package/dist/unstable/persistence/KeyValueStore.js +1 -1
  195. package/dist/unstable/persistence/Persistable.d.ts +2 -2
  196. package/dist/unstable/persistence/Persistable.js +2 -2
  197. package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
  198. package/dist/unstable/persistence/PersistedQueue.js +8 -8
  199. package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
  200. package/dist/unstable/persistence/RateLimiter.js +1 -1
  201. package/dist/unstable/process/ChildProcess.d.ts +5 -5
  202. package/dist/unstable/process/ChildProcess.js +2 -2
  203. package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
  204. package/dist/unstable/reactivity/AsyncResult.js +1 -1
  205. package/dist/unstable/reactivity/Atom.d.ts +1 -1
  206. package/dist/unstable/reactivity/Atom.js +1 -1
  207. package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
  208. package/dist/unstable/reactivity/AtomRegistry.js +1 -1
  209. package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
  210. package/dist/unstable/reactivity/Reactivity.js +1 -1
  211. package/dist/unstable/rpc/Rpc.d.ts +5 -5
  212. package/dist/unstable/rpc/Rpc.js +1 -1
  213. package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
  214. package/dist/unstable/rpc/RpcMiddleware.js +1 -1
  215. package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
  216. package/dist/unstable/rpc/RpcSchema.js +2 -2
  217. package/dist/unstable/schema/Model.d.ts +2 -2
  218. package/dist/unstable/schema/Model.js +1 -1
  219. package/dist/unstable/socket/Socket.d.ts +3 -3
  220. package/dist/unstable/socket/Socket.js +3 -3
  221. package/dist/unstable/socket/SocketServer.d.ts +1 -1
  222. package/dist/unstable/socket/SocketServer.js +1 -1
  223. package/dist/unstable/sql/Migrator.d.ts +1 -1
  224. package/dist/unstable/sql/SqlClient.d.ts +3 -3
  225. package/dist/unstable/sql/SqlClient.js +2 -2
  226. package/dist/unstable/sql/SqlConnection.d.ts +1 -1
  227. package/dist/unstable/sql/SqlConnection.js +1 -1
  228. package/dist/unstable/sql/Statement.d.ts +2 -2
  229. package/dist/unstable/sql/Statement.js +2 -2
  230. package/dist/unstable/workers/Transferable.d.ts +1 -1
  231. package/dist/unstable/workers/Transferable.js +1 -1
  232. package/dist/unstable/workers/Worker.d.ts +1 -1
  233. package/dist/unstable/workers/Worker.js +1 -1
  234. package/dist/unstable/workflow/Activity.d.ts +1 -1
  235. package/dist/unstable/workflow/Activity.js +1 -1
  236. package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
  237. package/dist/unstable/workflow/DurableDeferred.js +1 -1
  238. package/package.json +1 -1
  239. package/src/Array.ts +16 -16
  240. package/src/Boolean.ts +2 -2
  241. package/src/Channel.ts +67 -67
  242. package/src/Chunk.ts +18 -18
  243. package/src/Context.ts +4 -4
  244. package/src/Cron.ts +4 -4
  245. package/src/Deferred.ts +37 -37
  246. package/src/Duration.ts +6 -6
  247. package/src/Effect.ts +58 -58
  248. package/src/Equal.ts +2 -2
  249. package/src/Equivalence.ts +1 -1
  250. package/src/ExecutionPlan.ts +2 -2
  251. package/src/FileSystem.ts +6 -6
  252. package/src/Function.ts +5 -5
  253. package/src/Graph.ts +11 -11
  254. package/src/HKT.ts +1 -1
  255. package/src/HashMap.ts +3 -3
  256. package/src/HashSet.ts +1 -1
  257. package/src/Iterable.ts +15 -15
  258. package/src/Layer.ts +16 -16
  259. package/src/Logger.ts +7 -7
  260. package/src/ManagedRuntime.ts +2 -2
  261. package/src/Match.ts +20 -20
  262. package/src/Metric.ts +20 -20
  263. package/src/Option.ts +36 -36
  264. package/src/Order.ts +1 -1
  265. package/src/Path.ts +1 -1
  266. package/src/Pipeable.ts +1 -1
  267. package/src/Predicate.ts +5 -5
  268. package/src/PubSub.ts +9 -9
  269. package/src/Queue.ts +24 -24
  270. package/src/Record.ts +15 -15
  271. package/src/Redacted.ts +2 -2
  272. package/src/Ref.ts +18 -18
  273. package/src/RegExp.ts +1 -1
  274. package/src/Request.ts +4 -4
  275. package/src/RequestResolver.ts +8 -8
  276. package/src/Resource.ts +1 -1
  277. package/src/Result.ts +18 -18
  278. package/src/Schedule.ts +45 -45
  279. package/src/Schema.ts +177 -459
  280. package/src/SchemaAST.ts +1 -1
  281. package/src/SchemaGetter.ts +13 -13
  282. package/src/SchemaParser.ts +3 -3
  283. package/src/Scope.ts +1 -1
  284. package/src/Sink.ts +5 -5
  285. package/src/Stream.ts +57 -57
  286. package/src/String.ts +5 -5
  287. package/src/Struct.ts +8 -8
  288. package/src/SynchronizedRef.ts +57 -57
  289. package/src/Terminal.ts +1 -1
  290. package/src/Tracer.ts +5 -5
  291. package/src/Tuple.ts +14 -14
  292. package/src/TxHashMap.ts +3 -3
  293. package/src/TxHashSet.ts +1 -1
  294. package/src/Unify.ts +7 -7
  295. package/src/testing/TestClock.ts +5 -5
  296. package/src/testing/TestConsole.ts +3 -3
  297. package/src/unstable/ai/Chat.ts +2 -2
  298. package/src/unstable/ai/EmbeddingModel.ts +1 -1
  299. package/src/unstable/ai/IdGenerator.ts +2 -2
  300. package/src/unstable/ai/LanguageModel.ts +4 -4
  301. package/src/unstable/ai/Prompt.ts +15 -15
  302. package/src/unstable/ai/Telemetry.ts +5 -5
  303. package/src/unstable/ai/Tokenizer.ts +1 -1
  304. package/src/unstable/ai/Tool.ts +6 -6
  305. package/src/unstable/cli/Command.ts +5 -1
  306. package/src/unstable/cli/Param.ts +1 -1
  307. package/src/unstable/cli/Primitive.ts +3 -3
  308. package/src/unstable/cli/Prompt.ts +11 -11
  309. package/src/unstable/cli/internal/parser.ts +204 -10
  310. package/src/unstable/cluster/Entity.ts +1 -1
  311. package/src/unstable/cluster/EntityResource.ts +8 -4
  312. package/src/unstable/cluster/HttpRunner.ts +2 -2
  313. package/src/unstable/cluster/K8sHttpClient.ts +1 -1
  314. package/src/unstable/cluster/Runners.ts +1 -1
  315. package/src/unstable/cluster/Sharding.ts +1 -1
  316. package/src/unstable/cluster/SingletonAddress.ts +1 -1
  317. package/src/unstable/cluster/Snowflake.ts +5 -5
  318. package/src/unstable/devtools/DevToolsClient.ts +1 -1
  319. package/src/unstable/eventlog/EventLog.ts +1 -1
  320. package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
  321. package/src/unstable/eventlog/EventLogRemote.ts +1 -1
  322. package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
  323. package/src/unstable/http/Cookies.ts +1 -1
  324. package/src/unstable/http/Etag.ts +1 -1
  325. package/src/unstable/http/FetchHttpClient.ts +2 -2
  326. package/src/unstable/http/HttpClient.ts +1 -1
  327. package/src/unstable/http/HttpClientRequest.ts +2 -2
  328. package/src/unstable/http/HttpMiddleware.ts +1 -1
  329. package/src/unstable/http/HttpPlatform.ts +1 -1
  330. package/src/unstable/http/HttpRouter.ts +4 -4
  331. package/src/unstable/http/HttpServerResponse.ts +3 -3
  332. package/src/unstable/http/Url.ts +33 -33
  333. package/src/unstable/httpapi/HttpApi.ts +1 -1
  334. package/src/unstable/httpapi/HttpApiBuilder.ts +2 -3
  335. package/src/unstable/httpapi/HttpApiError.ts +13 -13
  336. package/src/unstable/httpapi/HttpApiSecurity.ts +36 -8
  337. package/src/unstable/httpapi/OpenApi.ts +2 -2
  338. package/src/unstable/observability/PrometheusMetrics.ts +4 -4
  339. package/src/unstable/persistence/KeyValueStore.ts +3 -3
  340. package/src/unstable/persistence/Persistable.ts +2 -2
  341. package/src/unstable/persistence/PersistedQueue.ts +8 -8
  342. package/src/unstable/persistence/RateLimiter.ts +1 -1
  343. package/src/unstable/process/ChildProcess.ts +5 -5
  344. package/src/unstable/reactivity/AsyncResult.ts +4 -4
  345. package/src/unstable/reactivity/Atom.ts +1 -1
  346. package/src/unstable/reactivity/AtomRegistry.ts +1 -1
  347. package/src/unstable/reactivity/Reactivity.ts +1 -1
  348. package/src/unstable/rpc/Rpc.ts +5 -5
  349. package/src/unstable/rpc/RpcMiddleware.ts +1 -1
  350. package/src/unstable/rpc/RpcSchema.ts +3 -3
  351. package/src/unstable/schema/Model.ts +2 -2
  352. package/src/unstable/socket/Socket.ts +3 -3
  353. package/src/unstable/socket/SocketServer.ts +1 -1
  354. package/src/unstable/sql/Migrator.ts +1 -1
  355. package/src/unstable/sql/SqlClient.ts +3 -3
  356. package/src/unstable/sql/SqlConnection.ts +1 -1
  357. package/src/unstable/sql/Statement.ts +2 -2
  358. package/src/unstable/workers/Transferable.ts +1 -1
  359. package/src/unstable/workers/Worker.ts +1 -1
  360. package/src/unstable/workflow/Activity.ts +1 -1
  361. package/src/unstable/workflow/DurableDeferred.ts +1 -1
package/dist/Channel.d.ts CHANGED
@@ -2408,7 +2408,7 @@ export declare const flatten: <OutElem, OutErr, OutDone, InElem, InErr, InDone,
2408
2408
  * // Outputs: 1, 2, 3, 4, 5, 6, 7, 8, 9
2409
2409
  * ```
2410
2410
  *
2411
- * @category utils
2411
+ * @category transforming
2412
2412
  * @since 4.0.0
2413
2413
  */
2414
2414
  export declare const flattenArray: <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<ReadonlyArray<OutElem>, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>;
@@ -2421,7 +2421,7 @@ export declare const flattenArray: <OutElem, OutErr, OutDone, InElem, InErr, InD
2421
2421
  * Output `Take` values are emitted as non-empty arrays. Failed `Take` values
2422
2422
  * fail the returned channel. Done `Take` values complete the returned channel.
2423
2423
  *
2424
- * @category utils
2424
+ * @category transforming
2425
2425
  * @since 4.0.0
2426
2426
  */
2427
2427
  export declare const flattenTake: <OutElem, OutErr, OutDone, OutErr2, OutDone2, InElem, InErr, InDone, Env>(self: Channel<Take.Take<OutElem, OutErr, OutDone>, OutErr2, OutDone2, InElem, InErr, InDone, Env>) => Channel<Arr.NonEmptyReadonlyArray<OutElem>, OutErr | OutErr2, OutDone, InElem, InErr, InDone, Env>;
@@ -2451,21 +2451,21 @@ export declare const drain: <OutElem, OutErr, OutDone, InElem, InErr, InDone, En
2451
2451
  /**
2452
2452
  * Repeats this channel according to the provided schedule.
2453
2453
  *
2454
- * @category utils
2454
+ * @category repetition
2455
2455
  * @since 4.0.0
2456
2456
  */
2457
2457
  export declare const repeat: {
2458
2458
  /**
2459
2459
  * Repeats this channel according to the provided schedule.
2460
2460
  *
2461
- * @category utils
2461
+ * @category repetition
2462
2462
  * @since 4.0.0
2463
2463
  */
2464
2464
  <SO, OutDone, SE, SR>(schedule: Schedule.Schedule<SO, Types.NoInfer<OutDone>, SE, SR> | (($: <SO, SE, SR>(_: Schedule.Schedule<SO, NoInfer<OutDone>, SE, SR>) => Schedule.Schedule<SO, OutDone, SE, SR>) => Schedule.Schedule<SO, Types.NoInfer<OutDone>, SE, SR>)): <OutElem, OutErr, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>) => Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>;
2465
2465
  /**
2466
2466
  * Repeats this channel according to the provided schedule.
2467
2467
  *
2468
- * @category utils
2468
+ * @category repetition
2469
2469
  * @since 4.0.0
2470
2470
  */
2471
2471
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, SO, SE, SR>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, schedule: Schedule.Schedule<SO, OutDone, SE, SR> | (($: <SO, SE, SR>(_: Schedule.Schedule<SO, NoInfer<OutDone>, SE, SR>) => Schedule.Schedule<SO, OutDone, SE, SR>) => Schedule.Schedule<SO, Types.NoInfer<OutDone>, SE, SR>)): Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>;
@@ -2473,7 +2473,7 @@ export declare const repeat: {
2473
2473
  /**
2474
2474
  * Repeats this channel forever.
2475
2475
  *
2476
- * @category utils
2476
+ * @category repetition
2477
2477
  * @since 4.0.0
2478
2478
  */
2479
2479
  export declare const forever: <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr, never, InElem, InErr, InDone, Env>;
@@ -2488,7 +2488,7 @@ export declare const forever: <OutElem, OutErr, OutDone, InElem, InErr, InDone,
2488
2488
  * fails. If the schedule finishes, the returned channel completes with the
2489
2489
  * schedule output.
2490
2490
  *
2491
- * @category utils
2491
+ * @category sequencing
2492
2492
  * @since 4.0.0
2493
2493
  */
2494
2494
  export declare const schedule: {
@@ -2503,7 +2503,7 @@ export declare const schedule: {
2503
2503
  * fails. If the schedule finishes, the returned channel completes with the
2504
2504
  * schedule output.
2505
2505
  *
2506
- * @category utils
2506
+ * @category sequencing
2507
2507
  * @since 4.0.0
2508
2508
  */
2509
2509
  <SO, OutElem, SE, SR>(schedule: Schedule.Schedule<SO, Types.NoInfer<OutElem>, SE, SR>): <OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>) => Channel<OutElem, OutErr | SE, OutDone | SO, InElem, InErr, InDone, Env | SR>;
@@ -2518,7 +2518,7 @@ export declare const schedule: {
2518
2518
  * fails. If the schedule finishes, the returned channel completes with the
2519
2519
  * schedule output.
2520
2520
  *
2521
- * @category utils
2521
+ * @category sequencing
2522
2522
  * @since 4.0.0
2523
2523
  */
2524
2524
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, SO, SE, SR>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, schedule: Schedule.Schedule<SO, OutElem, SE, SR>): Channel<OutElem, OutErr | SE, OutDone | SO, InElem, InErr, InDone, Env | SR>;
@@ -4430,7 +4430,7 @@ export declare const ignoreCause: <Arg extends Channel<any, any, any, any, any,
4430
4430
  * Returns a new channel that retries this channel according to the specified
4431
4431
  * schedule whenever it fails.
4432
4432
  *
4433
- * @category utils
4433
+ * @category error handling
4434
4434
  * @since 4.0.0
4435
4435
  */
4436
4436
  export declare const retry: {
@@ -4438,7 +4438,7 @@ export declare const retry: {
4438
4438
  * Returns a new channel that retries this channel according to the specified
4439
4439
  * schedule whenever it fails.
4440
4440
  *
4441
- * @category utils
4441
+ * @category error handling
4442
4442
  * @since 4.0.0
4443
4443
  */
4444
4444
  <SO, OutErr, SE, SR>(schedule: Schedule.Schedule<SO, Types.NoInfer<OutErr>, SE, SR> | (($: <SO, SE, SR>(_: Schedule.Schedule<SO, Types.NoInfer<OutErr>, SE, SR>) => Schedule.Schedule<SO, OutErr, SE, SR>) => Schedule.Schedule<SO, Types.NoInfer<OutErr>, SE, SR>)): <OutElem, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>) => Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>;
@@ -4446,7 +4446,7 @@ export declare const retry: {
4446
4446
  * Returns a new channel that retries this channel according to the specified
4447
4447
  * schedule whenever it fails.
4448
4448
  *
4449
- * @category utils
4449
+ * @category error handling
4450
4450
  * @since 4.0.0
4451
4451
  */
4452
4452
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, SO, SE, SR>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, schedule: Schedule.Schedule<SO, OutErr, SE, SR> | (($: <SO, SE, SR>(_: Schedule.Schedule<SO, Types.NoInfer<OutErr>, SE, SR>) => Schedule.Schedule<SO, OutErr, SE, SR>) => Schedule.Schedule<SO, Types.NoInfer<OutErr>, SE, SR>)): Channel<OutElem, OutErr | SE, OutDone, InElem, InErr, InDone, Env | SR>;
@@ -4591,7 +4591,7 @@ export declare const switchMap: {
4591
4591
  * // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
4592
4592
  * ```
4593
4593
  *
4594
- * @category utils
4594
+ * @category combining
4595
4595
  * @since 2.0.0
4596
4596
  */
4597
4597
  export declare const mergeAll: {
@@ -4623,7 +4623,7 @@ export declare const mergeAll: {
4623
4623
  * // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
4624
4624
  * ```
4625
4625
  *
4626
- * @category utils
4626
+ * @category combining
4627
4627
  * @since 2.0.0
4628
4628
  */
4629
4629
  (options: {
@@ -4659,7 +4659,7 @@ export declare const mergeAll: {
4659
4659
  * // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
4660
4660
  * ```
4661
4661
  *
4662
- * @category utils
4662
+ * @category combining
4663
4663
  * @since 2.0.0
4664
4664
  */
4665
4665
  <OutElem, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1, OutErr, OutDone, InElem, InErr, InDone, Env>(channels: Channel<Channel<OutElem, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>, OutErr, OutDone, InElem, InErr, InDone, Env>, options: {
@@ -4713,7 +4713,7 @@ export type HaltStrategy = "left" | "right" | "both" | "either";
4713
4713
  * // Order may vary: 1, "a", 2, "b", 3, "c"
4714
4714
  * ```
4715
4715
  *
4716
- * @category utils
4716
+ * @category combining
4717
4717
  * @since 4.0.0
4718
4718
  */
4719
4719
  export declare const merge: {
@@ -4743,7 +4743,7 @@ export declare const merge: {
4743
4743
  * // Order may vary: 1, "a", 2, "b", 3, "c"
4744
4744
  * ```
4745
4745
  *
4746
- * @category utils
4746
+ * @category combining
4747
4747
  * @since 4.0.0
4748
4748
  */
4749
4749
  <OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>(right: Channel<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>, options?: {
@@ -4775,7 +4775,7 @@ export declare const merge: {
4775
4775
  * // Order may vary: 1, "a", 2, "b", 3, "c"
4776
4776
  * ```
4777
4777
  *
4778
- * @category utils
4778
+ * @category combining
4779
4779
  * @since 4.0.0
4780
4780
  */
4781
4781
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>(left: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, right: Channel<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>, options?: {
@@ -4791,7 +4791,7 @@ export declare const merge: {
4791
4791
  * The effect's successful value is ignored. If the effect fails while the
4792
4792
  * channel is running, the returned channel fails with that error.
4793
4793
  *
4794
- * @category utils
4794
+ * @category combining
4795
4795
  * @since 4.0.0
4796
4796
  */
4797
4797
  export declare const mergeEffect: {
@@ -4804,7 +4804,7 @@ export declare const mergeEffect: {
4804
4804
  * The effect's successful value is ignored. If the effect fails while the
4805
4805
  * channel is running, the returned channel fails with that error.
4806
4806
  *
4807
- * @category utils
4807
+ * @category combining
4808
4808
  * @since 4.0.0
4809
4809
  */
4810
4810
  <X, E, R>(effect: Effect.Effect<X, E, R>): <OutElem, OutDone, OutErr, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -4817,7 +4817,7 @@ export declare const mergeEffect: {
4817
4817
  * The effect's successful value is ignored. If the effect fails while the
4818
4818
  * channel is running, the returned channel fails with that error.
4819
4819
  *
4820
- * @category utils
4820
+ * @category combining
4821
4821
  * @since 4.0.0
4822
4822
  */
4823
4823
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, X, E, R>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, effect: Effect.Effect<X, E, R>): Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -4901,7 +4901,7 @@ export declare const encodeText: <Err, Done>() => Channel<Arr.NonEmptyReadonlyAr
4901
4901
  * // Outputs: 2, 4, 6
4902
4902
  * ```
4903
4903
  *
4904
- * @category utils
4904
+ * @category sequencing
4905
4905
  * @since 2.0.0
4906
4906
  */
4907
4907
  export declare const pipeTo: {
@@ -4930,7 +4930,7 @@ export declare const pipeTo: {
4930
4930
  * // Outputs: 2, 4, 6
4931
4931
  * ```
4932
4932
  *
4933
- * @category utils
4933
+ * @category sequencing
4934
4934
  * @since 2.0.0
4935
4935
  */
4936
4936
  <OutElem2, OutErr2, OutDone2, OutElem, OutErr, OutDone, Env2>(that: Channel<OutElem2, OutErr2, OutDone2, OutElem, OutErr, OutDone, Env2>): <InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem2, OutErr2, OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -4959,7 +4959,7 @@ export declare const pipeTo: {
4959
4959
  * // Outputs: 2, 4, 6
4960
4960
  * ```
4961
4961
  *
4962
- * @category utils
4962
+ * @category sequencing
4963
4963
  * @since 2.0.0
4964
4964
  */
4965
4965
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutElem2, OutErr2, OutDone2, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, that: Channel<OutElem2, OutErr2, OutDone2, OutElem, OutErr, OutDone, Env2>): Channel<OutElem2, OutErr2, OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -4988,7 +4988,7 @@ export declare const pipeTo: {
4988
4988
  * // Source errors are preserved and not sent to transform channel
4989
4989
  * ```
4990
4990
  *
4991
- * @category utils
4991
+ * @category sequencing
4992
4992
  * @since 2.0.0
4993
4993
  */
4994
4994
  export declare const pipeToOrFail: {
@@ -5016,7 +5016,7 @@ export declare const pipeToOrFail: {
5016
5016
  * // Source errors are preserved and not sent to transform channel
5017
5017
  * ```
5018
5018
  *
5019
- * @category utils
5019
+ * @category sequencing
5020
5020
  * @since 2.0.0
5021
5021
  */
5022
5022
  <OutElem2, OutErr2, OutDone2, OutElem, OutDone, Env2>(that: Channel<OutElem2, OutErr2, OutDone2, OutElem, never, OutDone, Env2>): <OutErr, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem2, OutErr | OutErr2, OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -5044,7 +5044,7 @@ export declare const pipeToOrFail: {
5044
5044
  * // Source errors are preserved and not sent to transform channel
5045
5045
  * ```
5046
5046
  *
5047
- * @category utils
5047
+ * @category sequencing
5048
5048
  * @since 2.0.0
5049
5049
  */
5050
5050
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutElem2, OutErr2, OutDone2, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, that: Channel<OutElem2, OutErr2, OutDone2, OutElem, never, OutDone, Env2>): Channel<OutElem2, OutErr | OutErr2, OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -5081,7 +5081,7 @@ export declare const unwrap: <OutElem, OutErr, OutDone, InElem, InErr, InDone, R
5081
5081
  * Runs a channel with a scope provided for the duration of the channel
5082
5082
  * execution, removing the channel's `Scope` requirement.
5083
5083
  *
5084
- * @category utils
5084
+ * @category resource management
5085
5085
  * @since 2.0.0
5086
5086
  */
5087
5087
  export declare const scoped: <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Exclude<Env, Scope.Scope>>;
@@ -5116,7 +5116,7 @@ export declare const scoped: <OutElem, OutErr, OutDone, InElem, InErr, InDone, E
5116
5116
  * )
5117
5117
  * ```
5118
5118
  *
5119
- * @category utils
5119
+ * @category sequencing
5120
5120
  * @since 2.0.0
5121
5121
  */
5122
5122
  export declare const embedInput: {
@@ -5151,7 +5151,7 @@ export declare const embedInput: {
5151
5151
  * )
5152
5152
  * ```
5153
5153
  *
5154
- * @category utils
5154
+ * @category sequencing
5155
5155
  * @since 2.0.0
5156
5156
  */
5157
5157
  <InElem, InErr, InDone, R>(input: (upstream: Pull.Pull<InElem, InErr, InDone>) => Effect.Effect<void, never, R>): <OutElem, OutErr, OutDone, Env>(self: Channel<OutElem, OutErr, OutDone, unknown, unknown, unknown, Env>) => Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5186,7 +5186,7 @@ export declare const embedInput: {
5186
5186
  * )
5187
5187
  * ```
5188
5188
  *
5189
- * @category utils
5189
+ * @category sequencing
5190
5190
  * @since 2.0.0
5191
5191
  */
5192
5192
  <OutElem, OutErr, OutDone, Env, InErr, InElem, InDone, R>(self: Channel<OutElem, OutErr, OutDone, unknown, unknown, unknown, Env>, input: (upstream: Pull.Pull<InElem, InErr, InDone>) => Effect.Effect<void, never, R>): Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5359,7 +5359,7 @@ export declare const bufferArray: {
5359
5359
  * channel's done value. If the channel completes first, the original channel's
5360
5360
  * done value is preserved.
5361
5361
  *
5362
- * @category utils
5362
+ * @category interruption
5363
5363
  * @since 2.0.0
5364
5364
  */
5365
5365
  export declare const interruptWhen: {
@@ -5377,7 +5377,7 @@ export declare const interruptWhen: {
5377
5377
  * channel's done value. If the channel completes first, the original channel's
5378
5378
  * done value is preserved.
5379
5379
  *
5380
- * @category utils
5380
+ * @category interruption
5381
5381
  * @since 2.0.0
5382
5382
  */
5383
5383
  <OutDone2, OutErr2, Env2>(effect: Effect.Effect<OutDone2, OutErr2, Env2>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr | OutErr2, OutDone | OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -5395,7 +5395,7 @@ export declare const interruptWhen: {
5395
5395
  * channel's done value. If the channel completes first, the original channel's
5396
5396
  * done value is preserved.
5397
5397
  *
5398
- * @category utils
5398
+ * @category interruption
5399
5399
  * @since 2.0.0
5400
5400
  */
5401
5401
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutDone2, OutErr2, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, effect: Effect.Effect<OutDone2, OutErr2, Env2>): Channel<OutElem, OutErr | OutErr2, OutDone | OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -5410,7 +5410,7 @@ export declare const interruptWhen: {
5410
5410
  * fails with that error. If the channel completes first, the channel's done
5411
5411
  * value is preserved.
5412
5412
  *
5413
- * @category utils
5413
+ * @category interruption
5414
5414
  * @since 4.0.0
5415
5415
  */
5416
5416
  export declare const haltWhen: {
@@ -5424,7 +5424,7 @@ export declare const haltWhen: {
5424
5424
  * fails with that error. If the channel completes first, the channel's done
5425
5425
  * value is preserved.
5426
5426
  *
5427
- * @category utils
5427
+ * @category interruption
5428
5428
  * @since 4.0.0
5429
5429
  */
5430
5430
  <OutDone2, OutErr2, Env2>(effect: Effect.Effect<OutDone2, OutErr2, Env2>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr | OutErr2, OutDone | OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -5438,7 +5438,7 @@ export declare const haltWhen: {
5438
5438
  * fails with that error. If the channel completes first, the channel's done
5439
5439
  * value is preserved.
5440
5440
  *
5441
- * @category utils
5441
+ * @category interruption
5442
5442
  * @since 4.0.0
5443
5443
  */
5444
5444
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutDone2, OutErr2, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, effect: Effect.Effect<OutDone2, OutErr2, Env2>): Channel<OutElem, OutErr | OutErr2, OutDone | OutDone2, InElem, InErr, InDone, Env2 | Env>;
@@ -5451,7 +5451,7 @@ export declare const haltWhen: {
5451
5451
  * The finalizer receives the failure `Cause`. The original channel failure is
5452
5452
  * preserved. The finalizer itself must not fail.
5453
5453
  *
5454
- * @category utils
5454
+ * @category error handling
5455
5455
  * @since 4.0.0
5456
5456
  */
5457
5457
  export declare const onError: {
@@ -5463,7 +5463,7 @@ export declare const onError: {
5463
5463
  * The finalizer receives the failure `Cause`. The original channel failure is
5464
5464
  * preserved. The finalizer itself must not fail.
5465
5465
  *
5466
- * @category utils
5466
+ * @category error handling
5467
5467
  * @since 4.0.0
5468
5468
  */
5469
5469
  <OutDone, OutErr, Env2>(finalizer: (cause: Cause.Cause<OutErr>) => Effect.Effect<unknown, never, Env2>): <OutElem, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env2 | Env>;
@@ -5475,7 +5475,7 @@ export declare const onError: {
5475
5475
  * The finalizer receives the failure `Cause`. The original channel failure is
5476
5476
  * preserved. The finalizer itself must not fail.
5477
5477
  *
5478
- * @category utils
5478
+ * @category error handling
5479
5479
  * @since 4.0.0
5480
5480
  */
5481
5481
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, finalizer: (cause: Cause.Cause<OutErr>) => Effect.Effect<unknown, never, Env2>): Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env2 | Env>;
@@ -5506,7 +5506,7 @@ export declare const onError: {
5506
5506
  * })
5507
5507
  * ```
5508
5508
  *
5509
- * @category utils
5509
+ * @category resource management
5510
5510
  * @since 4.0.0
5511
5511
  */
5512
5512
  export declare const onExit: {
@@ -5536,7 +5536,7 @@ export declare const onExit: {
5536
5536
  * })
5537
5537
  * ```
5538
5538
  *
5539
- * @category utils
5539
+ * @category resource management
5540
5540
  * @since 4.0.0
5541
5541
  */
5542
5542
  <OutDone, OutErr, Env2>(finalizer: (e: Exit.Exit<OutDone, OutErr>) => Effect.Effect<unknown, never, Env2>): <OutElem, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env2 | Env>;
@@ -5566,7 +5566,7 @@ export declare const onExit: {
5566
5566
  * })
5567
5567
  * ```
5568
5568
  *
5569
- * @category utils
5569
+ * @category resource management
5570
5570
  * @since 4.0.0
5571
5571
  */
5572
5572
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, finalizer: (e: Exit.Exit<OutDone, OutErr>) => Effect.Effect<unknown, never, Env2>): Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env2 | Env>;
@@ -5579,7 +5579,7 @@ export declare const onExit: {
5579
5579
  * The effect's successful value is ignored. If the effect fails, the returned
5580
5580
  * channel fails before running the source channel.
5581
5581
  *
5582
- * @category utils
5582
+ * @category hooks
5583
5583
  * @since 4.0.0
5584
5584
  */
5585
5585
  export declare const onStart: {
@@ -5591,7 +5591,7 @@ export declare const onStart: {
5591
5591
  * The effect's successful value is ignored. If the effect fails, the returned
5592
5592
  * channel fails before running the source channel.
5593
5593
  *
5594
- * @category utils
5594
+ * @category hooks
5595
5595
  * @since 4.0.0
5596
5596
  */
5597
5597
  <A, E, R>(onStart: Effect.Effect<A, E, R>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5603,7 +5603,7 @@ export declare const onStart: {
5603
5603
  * The effect's successful value is ignored. If the effect fails, the returned
5604
5604
  * channel fails before running the source channel.
5605
5605
  *
5606
- * @category utils
5606
+ * @category hooks
5607
5607
  * @since 4.0.0
5608
5608
  */
5609
5609
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, A, E, R>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, onStart: Effect.Effect<A, E, R>): Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5617,7 +5617,7 @@ export declare const onStart: {
5617
5617
  * emitted unchanged. The effect is not run if the channel completes without
5618
5618
  * emitting an element.
5619
5619
  *
5620
- * @category utils
5620
+ * @category hooks
5621
5621
  * @since 4.0.0
5622
5622
  */
5623
5623
  export declare const onFirst: {
@@ -5630,7 +5630,7 @@ export declare const onFirst: {
5630
5630
  * emitted unchanged. The effect is not run if the channel completes without
5631
5631
  * emitting an element.
5632
5632
  *
5633
- * @category utils
5633
+ * @category hooks
5634
5634
  * @since 4.0.0
5635
5635
  */
5636
5636
  <OutElem, A, E, R>(onFirst: (element: Types.NoInfer<OutElem>) => Effect.Effect<A, E, R>): <OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5643,7 +5643,7 @@ export declare const onFirst: {
5643
5643
  * emitted unchanged. The effect is not run if the channel completes without
5644
5644
  * emitting an element.
5645
5645
  *
5646
- * @category utils
5646
+ * @category hooks
5647
5647
  * @since 4.0.0
5648
5648
  */
5649
5649
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, A, E, R>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, onFirst: (element: Types.NoInfer<OutElem>) => Effect.Effect<A, E, R>): Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5657,7 +5657,7 @@ export declare const onFirst: {
5657
5657
  * not run when the channel fails. If the effect fails, the returned channel
5658
5658
  * fails with that error.
5659
5659
  *
5660
- * @category utils
5660
+ * @category hooks
5661
5661
  * @since 4.0.0
5662
5662
  */
5663
5663
  export declare const onEnd: {
@@ -5670,7 +5670,7 @@ export declare const onEnd: {
5670
5670
  * not run when the channel fails. If the effect fails, the returned channel
5671
5671
  * fails with that error.
5672
5672
  *
5673
- * @category utils
5673
+ * @category hooks
5674
5674
  * @since 4.0.0
5675
5675
  */
5676
5676
  <A, E, R>(onEnd: Effect.Effect<A, E, R>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5683,7 +5683,7 @@ export declare const onEnd: {
5683
5683
  * not run when the channel fails. If the effect fails, the returned channel
5684
5684
  * fails with that error.
5685
5685
  *
5686
- * @category utils
5686
+ * @category hooks
5687
5687
  * @since 4.0.0
5688
5688
  */
5689
5689
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, A, E, R>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, onEnd: Effect.Effect<A, E, R>): Channel<OutElem, OutErr | E, OutDone, InElem, InErr, InDone, Env | R>;
@@ -5711,7 +5711,7 @@ export declare const onEnd: {
5711
5711
  * )
5712
5712
  * ```
5713
5713
  *
5714
- * @category utils
5714
+ * @category resource management
5715
5715
  * @since 2.0.0
5716
5716
  */
5717
5717
  export declare const ensuring: {
@@ -5738,7 +5738,7 @@ export declare const ensuring: {
5738
5738
  * )
5739
5739
  * ```
5740
5740
  *
5741
- * @category utils
5741
+ * @category resource management
5742
5742
  * @since 2.0.0
5743
5743
  */
5744
5744
  <Env2>(finalizer: Effect.Effect<unknown, never, Env2>): <OutElem, OutDone, OutErr, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env2 | Env>;
@@ -5765,7 +5765,7 @@ export declare const ensuring: {
5765
5765
  * )
5766
5766
  * ```
5767
5767
  *
5768
- * @category utils
5768
+ * @category resource management
5769
5769
  * @since 2.0.0
5770
5770
  */
5771
5771
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, finalizer: Effect.Effect<unknown, never, Env2>): Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env2 | Env>;
@@ -6043,7 +6043,7 @@ export declare const withSpan: {
6043
6043
  /**
6044
6044
  * The starting channel for Do notation, emitting an empty object.
6045
6045
  *
6046
- * @category Do notation
6046
+ * @category do notation
6047
6047
  * @since 4.0.0
6048
6048
  */
6049
6049
  export declare const Do: Channel<{}>;
@@ -6059,7 +6059,7 @@ export {
6059
6059
  /**
6060
6060
  * Adds a computed field to each object emitted by a channel.
6061
6061
  *
6062
- * @category Do notation
6062
+ * @category do notation
6063
6063
  * @since 4.0.0
6064
6064
  */
6065
6065
  let_ as let };
@@ -6073,7 +6073,7 @@ let_ as let };
6073
6073
  * channel's output becomes the value of the new field. `options.concurrency`
6074
6074
  * and `options.bufferSize` control how derived channels are flattened.
6075
6075
  *
6076
- * @category Do notation
6076
+ * @category do notation
6077
6077
  * @since 4.0.0
6078
6078
  */
6079
6079
  export declare const bind: {
@@ -6087,7 +6087,7 @@ export declare const bind: {
6087
6087
  * channel's output becomes the value of the new field. `options.concurrency`
6088
6088
  * and `options.bufferSize` control how derived channels are flattened.
6089
6089
  *
6090
- * @category Do notation
6090
+ * @category do notation
6091
6091
  * @since 4.0.0
6092
6092
  */
6093
6093
  <N extends string, OutElem extends object, B, OutErr2, OutDone2, InElem2, InErr2, InDone2, Env2>(name: Exclude<N, keyof OutElem>, f: (a: NoInfer<OutElem>) => Channel<B, OutErr2, OutDone2, InElem2, InErr2, InDone2, Env2>, options?: {
@@ -6106,7 +6106,7 @@ export declare const bind: {
6106
6106
  * channel's output becomes the value of the new field. `options.concurrency`
6107
6107
  * and `options.bufferSize` control how derived channels are flattened.
6108
6108
  *
6109
- * @category Do notation
6109
+ * @category do notation
6110
6110
  * @since 4.0.0
6111
6111
  */
6112
6112
  <OutElem extends object, OutErr, OutDone, InElem, InErr, InDone, Env, N extends string, B, OutErr2, OutDone2, InElem2, InErr2, InDone2, Env2>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, name: Exclude<N, keyof OutElem>, f: (a: NoInfer<OutElem>) => Channel<B, OutErr2, OutDone2, InElem2, InErr2, InDone2, Env2>, options?: {
@@ -6128,7 +6128,7 @@ export declare const bind: {
6128
6128
  * @see {@link bind} for adding a field produced by another channel
6129
6129
  * @see {@link let_ let} for adding a computed field
6130
6130
  *
6131
- * @category Do notation
6131
+ * @category do notation
6132
6132
  * @since 4.0.0
6133
6133
  */
6134
6134
  export declare const bindTo: {
@@ -6144,7 +6144,7 @@ export declare const bindTo: {
6144
6144
  * @see {@link bind} for adding a field produced by another channel
6145
6145
  * @see {@link let_ let} for adding a computed field
6146
6146
  *
6147
- * @category Do notation
6147
+ * @category do notation
6148
6148
  * @since 4.0.0
6149
6149
  */
6150
6150
  <N extends string>(name: N): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>) => Channel<{
@@ -6162,7 +6162,7 @@ export declare const bindTo: {
6162
6162
  * @see {@link bind} for adding a field produced by another channel
6163
6163
  * @see {@link let_ let} for adding a computed field
6164
6164
  *
6165
- * @category Do notation
6165
+ * @category do notation
6166
6166
  * @since 4.0.0
6167
6167
  */
6168
6168
  <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, N extends string>(self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, name: N): Channel<{