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/src/Result.ts CHANGED
@@ -265,7 +265,7 @@ export interface ResultUnifyIgnore {}
265
265
  * (e.g., `map`, `flatMap` abstractions). You typically do not need to
266
266
  * reference this directly.
267
267
  *
268
- * @category Type Lambdas
268
+ * @category type lambdas
269
269
  * @since 4.0.0
270
270
  */
271
271
  export interface ResultTypeLambda extends TypeLambda {
@@ -745,7 +745,7 @@ export {
745
745
  *
746
746
  * @see {@link isSuccess} / {@link isFailure} to narrow to a specific variant
747
747
  *
748
- * @category Type Guards
748
+ * @category guards
749
749
  * @since 4.0.0
750
750
  */
751
751
  export const isResult: (input: unknown) => input is Result<unknown, unknown> = result.isResult
@@ -778,7 +778,7 @@ export const isResult: (input: unknown) => input is Result<unknown, unknown> = r
778
778
  * @see {@link isSuccess} for the opposite check
779
779
  * @see {@link isResult} to check if a value is any Result
780
780
  *
781
- * @category Type Guards
781
+ * @category guards
782
782
  * @since 4.0.0
783
783
  */
784
784
  export const isFailure: <A, E>(self: Result<A, E>) => self is Failure<A, E> = result.isFailure
@@ -811,7 +811,7 @@ export const isFailure: <A, E>(self: Result<A, E>) => self is Failure<A, E> = re
811
811
  * @see {@link isFailure} for the opposite check
812
812
  * @see {@link isResult} to check if a value is any Result
813
813
  *
814
- * @category Type Guards
814
+ * @category guards
815
815
  * @since 4.0.0
816
816
  */
817
817
  export const isSuccess: <A, E>(self: Result<A, E>) => self is Success<A, E> = result.isSuccess
@@ -906,7 +906,7 @@ export const getFailure: <A, E>(self: Result<A, E>) => Option<E> = result.getFai
906
906
  * // Output: false
907
907
  * ```
908
908
  *
909
- * @category Equivalence
909
+ * @category instances
910
910
  * @since 4.0.0
911
911
  */
912
912
  export const makeEquivalence = <A, E>(
@@ -1292,7 +1292,7 @@ export const map: {
1292
1292
  * @see {@link merge} to extract `A | E` without mapping
1293
1293
  * @see {@link getOrElse} to unwrap only the success with a fallback
1294
1294
  *
1295
- * @category Pattern Matching
1295
+ * @category pattern matching
1296
1296
  * @since 2.0.0
1297
1297
  */
1298
1298
  export const match: {
@@ -1326,7 +1326,7 @@ export const match: {
1326
1326
  * @see {@link merge} to extract `A | E` without mapping
1327
1327
  * @see {@link getOrElse} to unwrap only the success with a fallback
1328
1328
  *
1329
- * @category Pattern Matching
1329
+ * @category pattern matching
1330
1330
  * @since 2.0.0
1331
1331
  */
1332
1332
  <E, B, A, C = B>(
@@ -1365,7 +1365,7 @@ export const match: {
1365
1365
  * @see {@link merge} to extract `A | E` without mapping
1366
1366
  * @see {@link getOrElse} to unwrap only the success with a fallback
1367
1367
  *
1368
- * @category Pattern Matching
1368
+ * @category pattern matching
1369
1369
  * @since 2.0.0
1370
1370
  */
1371
1371
  <A, E, B, C = B>(
@@ -2909,7 +2909,7 @@ export const all: <const I extends Iterable<Result<any, any>> | Record<string, R
2909
2909
  *
2910
2910
  * @see {@link mapError} to transform the error without swapping
2911
2911
  *
2912
- * @category utils
2912
+ * @category transforming
2913
2913
  * @since 2.0.0
2914
2914
  */
2915
2915
  export const flip = <A, E>(self: Result<A, E>): Result<E, A> =>
@@ -2948,7 +2948,7 @@ export const flip = <A, E>(self: Result<A, E>): Result<E, A> =>
2948
2948
  * @see {@link flatMap} for point-free sequential composition
2949
2949
  * @see {@link all} to collect multiple independent Results
2950
2950
  *
2951
- * @category Generators
2951
+ * @category generators
2952
2952
  * @since 2.0.0
2953
2953
  */
2954
2954
  export const gen: Gen.Gen<ResultTypeLambda> = (...args) => {
@@ -3004,7 +3004,7 @@ export const gen: Gen.Gen<ResultTypeLambda> = (...args) => {
3004
3004
  * @see {@link gen} for an alternative generator-based syntax
3005
3005
  * @see {@link bindTo} for starting a do-notation chain from an existing Result
3006
3006
  *
3007
- * @category Do Notation
3007
+ * @category do notation
3008
3008
  * @since 2.0.0
3009
3009
  */
3010
3010
  export const Do: Result<{}> = succeed({})
@@ -3042,7 +3042,7 @@ export const Do: Result<{}> = succeed({})
3042
3042
  * @see {@link let_ let} for pure computed fields
3043
3043
  * @see {@link bindTo} to wrap an initial Result into a named field
3044
3044
  *
3045
- * @category Do Notation
3045
+ * @category do notation
3046
3046
  * @since 2.0.0
3047
3047
  */
3048
3048
  export const bind: {
@@ -3079,7 +3079,7 @@ export const bind: {
3079
3079
  * @see {@link let_ let} for pure computed fields
3080
3080
  * @see {@link bindTo} to wrap an initial Result into a named field
3081
3081
  *
3082
- * @category Do Notation
3082
+ * @category do notation
3083
3083
  * @since 2.0.0
3084
3084
  */
3085
3085
  <N extends string, A extends object, B, L2>(name: Exclude<N, keyof A>, f: (a: NoInfer<A>) => Result<B, L2>): <L1>(self: Result<A, L1>) => Result<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, L1 | L2>
@@ -3116,7 +3116,7 @@ export const bind: {
3116
3116
  * @see {@link let_ let} for pure computed fields
3117
3117
  * @see {@link bindTo} to wrap an initial Result into a named field
3118
3118
  *
3119
- * @category Do Notation
3119
+ * @category do notation
3120
3120
  * @since 2.0.0
3121
3121
  */
3122
3122
  <A extends object, L1, N extends string, B, L2>(
@@ -3156,7 +3156,7 @@ export const bind: {
3156
3156
  * @see {@link Do} to start from an empty object
3157
3157
  * @see {@link bind} to add more fields
3158
3158
  *
3159
- * @category Do Notation
3159
+ * @category do notation
3160
3160
  * @since 2.0.0
3161
3161
  */
3162
3162
  export const bindTo: {
@@ -3190,7 +3190,7 @@ export const bindTo: {
3190
3190
  * @see {@link Do} to start from an empty object
3191
3191
  * @see {@link bind} to add more fields
3192
3192
  *
3193
- * @category Do Notation
3193
+ * @category do notation
3194
3194
  * @since 2.0.0
3195
3195
  */
3196
3196
  <N extends string>(name: N): <R, L>(self: Result<R, L>) => Result<Record<N, R>, L>
@@ -3224,7 +3224,7 @@ export const bindTo: {
3224
3224
  * @see {@link Do} to start from an empty object
3225
3225
  * @see {@link bind} to add more fields
3226
3226
  *
3227
- * @category Do Notation
3227
+ * @category do notation
3228
3228
  * @since 2.0.0
3229
3229
  */
3230
3230
  <R, L, N extends string>(self: Result<R, L>, name: N): Result<Record<N, R>, L>
@@ -3274,7 +3274,7 @@ export {
3274
3274
  * @see {@link Do} to start the do-notation chain
3275
3275
  * @see {@link bind} for Result-producing fields
3276
3276
  *
3277
- * @category Do Notation
3277
+ * @category do notation
3278
3278
  * @since 2.0.0
3279
3279
  */
3280
3280
  let_ as let
package/src/Schedule.ts CHANGED
@@ -665,7 +665,7 @@ export const toStepWithSleep = <Output, Input, Error, Env>(
665
665
  * })
666
666
  * ```
667
667
  *
668
- * @category utils
668
+ * @category delays & timeouts
669
669
  * @since 2.0.0
670
670
  */
671
671
  export const addDelay: {
@@ -765,7 +765,7 @@ export const addDelay: {
765
765
  * })
766
766
  * ```
767
767
  *
768
- * @category utils
768
+ * @category delays & timeouts
769
769
  * @since 2.0.0
770
770
  */
771
771
  <Output, Error2 = never, Env2 = never>(f: (output: Output) => Effect<Duration.Input, Error2, Env2>): <Input, Error, Env>(
@@ -867,7 +867,7 @@ export const addDelay: {
867
867
  * })
868
868
  * ```
869
869
  *
870
- * @category utils
870
+ * @category delays & timeouts
871
871
  * @since 2.0.0
872
872
  */
873
873
  <Output, Input, Error, Env, Error2 = never, Env2 = never>(
@@ -1444,7 +1444,7 @@ export const andThenResult: {
1444
1444
  *
1445
1445
  * @see {@link either} for continuing while either schedule still recurs
1446
1446
  *
1447
- * @category utils
1447
+ * @category combining
1448
1448
  * @since 2.0.0
1449
1449
  */
1450
1450
  export const both: {
@@ -1523,7 +1523,7 @@ export const both: {
1523
1523
  *
1524
1524
  * @see {@link either} for continuing while either schedule still recurs
1525
1525
  *
1526
- * @category utils
1526
+ * @category combining
1527
1527
  * @since 2.0.0
1528
1528
  */
1529
1529
  <Output2, Input2, Error2, Env2, Output>(other: Schedule<Output2, Input2, Error2, Env2>): <Input, Error, Env>(
@@ -1604,7 +1604,7 @@ export const both: {
1604
1604
  *
1605
1605
  * @see {@link either} for continuing while either schedule still recurs
1606
1606
  *
1607
- * @category utils
1607
+ * @category combining
1608
1608
  * @since 2.0.0
1609
1609
  */
1610
1610
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2>(
@@ -1646,7 +1646,7 @@ export const both: {
1646
1646
  * })
1647
1647
  * ```
1648
1648
  *
1649
- * @category utils
1649
+ * @category combining
1650
1650
  * @since 2.0.0
1651
1651
  */
1652
1652
  export const bothLeft: {
@@ -1679,7 +1679,7 @@ export const bothLeft: {
1679
1679
  * })
1680
1680
  * ```
1681
1681
  *
1682
- * @category utils
1682
+ * @category combining
1683
1683
  * @since 2.0.0
1684
1684
  */
1685
1685
  <Output2, Input2, Error2, Env2>(other: Schedule<Output2, Input2, Error2, Env2>): <Output, Input, Error, Env>(
@@ -1714,7 +1714,7 @@ export const bothLeft: {
1714
1714
  * })
1715
1715
  * ```
1716
1716
  *
1717
- * @category utils
1717
+ * @category combining
1718
1718
  * @since 2.0.0
1719
1719
  */
1720
1720
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2>(
@@ -1757,7 +1757,7 @@ export const bothLeft: {
1757
1757
  * })
1758
1758
  * ```
1759
1759
  *
1760
- * @category utils
1760
+ * @category combining
1761
1761
  * @since 2.0.0
1762
1762
  */
1763
1763
  export const bothRight: {
@@ -1792,7 +1792,7 @@ export const bothRight: {
1792
1792
  * })
1793
1793
  * ```
1794
1794
  *
1795
- * @category utils
1795
+ * @category combining
1796
1796
  * @since 2.0.0
1797
1797
  */
1798
1798
  <Output2, Input2, Error2, Env2>(other: Schedule<Output2, Input2, Error2, Env2>): <Output, Input, Error, Env>(
@@ -1829,7 +1829,7 @@ export const bothRight: {
1829
1829
  * })
1830
1830
  * ```
1831
1831
  *
1832
- * @category utils
1832
+ * @category combining
1833
1833
  * @since 2.0.0
1834
1834
  */
1835
1835
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2>(
@@ -1877,7 +1877,7 @@ export const bothRight: {
1877
1877
  * })
1878
1878
  * ```
1879
1879
  *
1880
- * @category utils
1880
+ * @category combining
1881
1881
  * @since 2.0.0
1882
1882
  */
1883
1883
  export const bothWith: {
@@ -1917,7 +1917,7 @@ export const bothWith: {
1917
1917
  * })
1918
1918
  * ```
1919
1919
  *
1920
- * @category utils
1920
+ * @category combining
1921
1921
  * @since 2.0.0
1922
1922
  */
1923
1923
  <Output2, Input2, Error2, Env2, Output, Output3>(
@@ -1962,7 +1962,7 @@ export const bothWith: {
1962
1962
  * })
1963
1963
  * ```
1964
1964
  *
1965
- * @category utils
1965
+ * @category combining
1966
1966
  * @since 2.0.0
1967
1967
  */
1968
1968
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2, Output3>(
@@ -2030,7 +2030,7 @@ export const bothWith: {
2030
2030
  * })
2031
2031
  * ```
2032
2032
  *
2033
- * @category utils
2033
+ * @category collecting
2034
2034
  * @since 4.0.0
2035
2035
  */
2036
2036
  export const collectInputs = <Output, Input, Error, Env>(
@@ -2067,7 +2067,7 @@ export const collectInputs = <Output, Input, Error, Env>(
2067
2067
  * })
2068
2068
  * ```
2069
2069
  *
2070
- * @category utils
2070
+ * @category collecting
2071
2071
  * @since 4.0.0
2072
2072
  */
2073
2073
  export const collectOutputs = <Output, Input, Error, Env>(
@@ -2154,7 +2154,7 @@ export const collectOutputs = <Output, Input, Error, Env>(
2154
2154
  * })
2155
2155
  * ```
2156
2156
  *
2157
- * @category utils
2157
+ * @category collecting
2158
2158
  * @since 2.0.0
2159
2159
  */
2160
2160
  export const collectWhile: {
@@ -2238,7 +2238,7 @@ export const collectWhile: {
2238
2238
  * })
2239
2239
  * ```
2240
2240
  *
2241
- * @category utils
2241
+ * @category collecting
2242
2242
  * @since 2.0.0
2243
2243
  */
2244
2244
  <Input, Output, Error2 = never, Env2 = never>(
@@ -2328,7 +2328,7 @@ export const collectWhile: {
2328
2328
  * })
2329
2329
  * ```
2330
2330
  *
2331
- * @category utils
2331
+ * @category collecting
2332
2332
  * @since 2.0.0
2333
2333
  */
2334
2334
  <Output, Input, Error, Env, Error2 = never, Env2 = never>(
@@ -3062,7 +3062,7 @@ export const during = (duration: Duration.Input): Schedule<Duration.Duration> =>
3062
3062
  *
3063
3063
  * @see {@link both} for continuing only while both schedules still recur
3064
3064
  *
3065
- * @category utils
3065
+ * @category combining
3066
3066
  * @since 2.0.0
3067
3067
  */
3068
3068
  export const either: {
@@ -3142,7 +3142,7 @@ export const either: {
3142
3142
  *
3143
3143
  * @see {@link both} for continuing only while both schedules still recur
3144
3144
  *
3145
- * @category utils
3145
+ * @category combining
3146
3146
  * @since 2.0.0
3147
3147
  */
3148
3148
  <Output2, Input2, Error2, Env2>(other: Schedule<Output2, Input2, Error2, Env2>): <Output, Input, Error, Env>(
@@ -3224,7 +3224,7 @@ export const either: {
3224
3224
  *
3225
3225
  * @see {@link both} for continuing only while both schedules still recur
3226
3226
  *
3227
- * @category utils
3227
+ * @category combining
3228
3228
  * @since 2.0.0
3229
3229
  */
3230
3230
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2>(
@@ -3269,7 +3269,7 @@ export const either: {
3269
3269
  * })
3270
3270
  * ```
3271
3271
  *
3272
- * @category utils
3272
+ * @category combining
3273
3273
  * @since 4.0.0
3274
3274
  */
3275
3275
  export const eitherLeft: {
@@ -3305,7 +3305,7 @@ export const eitherLeft: {
3305
3305
  * })
3306
3306
  * ```
3307
3307
  *
3308
- * @category utils
3308
+ * @category combining
3309
3309
  * @since 4.0.0
3310
3310
  */
3311
3311
  <Output2, Input2, Error2, Env2>(other: Schedule<Output2, Input2, Error2, Env2>): <Output, Input, Error, Env>(
@@ -3343,7 +3343,7 @@ export const eitherLeft: {
3343
3343
  * })
3344
3344
  * ```
3345
3345
  *
3346
- * @category utils
3346
+ * @category combining
3347
3347
  * @since 4.0.0
3348
3348
  */
3349
3349
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2>(
@@ -3387,7 +3387,7 @@ export const eitherLeft: {
3387
3387
  * })
3388
3388
  * ```
3389
3389
  *
3390
- * @category utils
3390
+ * @category combining
3391
3391
  * @since 4.0.0
3392
3392
  */
3393
3393
  export const eitherRight: {
@@ -3423,7 +3423,7 @@ export const eitherRight: {
3423
3423
  * })
3424
3424
  * ```
3425
3425
  *
3426
- * @category utils
3426
+ * @category combining
3427
3427
  * @since 4.0.0
3428
3428
  */
3429
3429
  <Output2, Input2, Error2, Env2>(other: Schedule<Output2, Input2, Error2, Env2>): <Output, Input, Error, Env>(
@@ -3461,7 +3461,7 @@ export const eitherRight: {
3461
3461
  * })
3462
3462
  * ```
3463
3463
  *
3464
- * @category utils
3464
+ * @category combining
3465
3465
  * @since 4.0.0
3466
3466
  */
3467
3467
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2>(
@@ -3510,7 +3510,7 @@ export const eitherRight: {
3510
3510
  * })
3511
3511
  * ```
3512
3512
  *
3513
- * @category utils
3513
+ * @category combining
3514
3514
  * @since 2.0.0
3515
3515
  */
3516
3516
  export const eitherWith: {
@@ -3551,7 +3551,7 @@ export const eitherWith: {
3551
3551
  * })
3552
3552
  * ```
3553
3553
  *
3554
- * @category utils
3554
+ * @category combining
3555
3555
  * @since 2.0.0
3556
3556
  */
3557
3557
  <Output2, Input2, Error2, Env2, Output, Output3>(
@@ -3597,7 +3597,7 @@ export const eitherWith: {
3597
3597
  * })
3598
3598
  * ```
3599
3599
  *
3600
- * @category utils
3600
+ * @category combining
3601
3601
  * @since 2.0.0
3602
3602
  */
3603
3603
  <Output, Input, Error, Env, Output2, Input2, Error2, Env2, Output3>(
@@ -3660,7 +3660,7 @@ export const eitherWith: {
3660
3660
  * })
3661
3661
  * ```
3662
3662
  *
3663
- * @category utils
3663
+ * @category combining
3664
3664
  * @since 2.0.0
3665
3665
  */
3666
3666
  [Output3, Duration.Duration]>([
@@ -4200,7 +4200,7 @@ export const map: {
4200
4200
  * })
4201
4201
  * ```
4202
4202
  *
4203
- * @category utils
4203
+ * @category delays & timeouts
4204
4204
  * @since 2.0.0
4205
4205
  */
4206
4206
  export const modifyDelay: {
@@ -4234,7 +4234,7 @@ export const modifyDelay: {
4234
4234
  * })
4235
4235
  * ```
4236
4236
  *
4237
- * @category utils
4237
+ * @category delays & timeouts
4238
4238
  * @since 2.0.0
4239
4239
  */
4240
4240
  <Output, Error2 = never, Env2 = never>(
@@ -4275,7 +4275,7 @@ export const modifyDelay: {
4275
4275
  * })
4276
4276
  * ```
4277
4277
  *
4278
- * @category utils
4278
+ * @category delays & timeouts
4279
4279
  * @since 2.0.0
4280
4280
  */
4281
4281
  <Output, Input, Error, Env, Error2 = never, Env2 = never>(
@@ -4312,7 +4312,7 @@ export const modifyDelay: {
4312
4312
  *
4313
4313
  * @see {@link modifyDelay} for replacing recurrence delays with a custom effectful transformation
4314
4314
  *
4315
- * @category utils
4315
+ * @category delays & timeouts
4316
4316
  * @since 2.0.0
4317
4317
  */
4318
4318
  export const jittered = <Output, Input, Error, Env>(
@@ -4350,7 +4350,7 @@ export const jittered = <Output, Input, Error, Env>(
4350
4350
  * })
4351
4351
  * ```
4352
4352
  *
4353
- * @category utils
4353
+ * @category mapping
4354
4354
  * @since 2.0.0
4355
4355
  */
4356
4356
  export const passthrough = <Output, Input, Error, Env>(
@@ -4546,7 +4546,7 @@ export const recurs = (times: number): Schedule<number> =>
4546
4546
  * })
4547
4547
  * ```
4548
4548
  *
4549
- * @category utils
4549
+ * @category folding
4550
4550
  * @since 2.0.0
4551
4551
  */
4552
4552
  export const reduce: {
@@ -4659,7 +4659,7 @@ export const reduce: {
4659
4659
  * })
4660
4660
  * ```
4661
4661
  *
4662
- * @category utils
4662
+ * @category folding
4663
4663
  * @since 2.0.0
4664
4664
  */
4665
4665
  <State, Output, Error2 = never, Env2 = never>(
@@ -4777,7 +4777,7 @@ export const reduce: {
4777
4777
  * })
4778
4778
  * ```
4779
4779
  *
4780
- * @category utils
4780
+ * @category folding
4781
4781
  * @since 2.0.0
4782
4782
  */
4783
4783
  <Output, Input, Error, Env, State, Error2 = never, Env2 = never>(
@@ -5758,7 +5758,7 @@ export const tapOutput: {
5758
5758
  *
5759
5759
  * @see {@link recurs} for creating a count-limited schedule
5760
5760
  *
5761
- * @category utils
5761
+ * @category taking
5762
5762
  * @since 4.0.0
5763
5763
  */
5764
5764
  export const take: {
@@ -5854,7 +5854,7 @@ export const take: {
5854
5854
  *
5855
5855
  * @see {@link recurs} for creating a count-limited schedule
5856
5856
  *
5857
- * @category utils
5857
+ * @category taking
5858
5858
  * @since 4.0.0
5859
5859
  */
5860
5860
  (n: number): <Output, Input, Error, Env>(
@@ -5952,7 +5952,7 @@ export const take: {
5952
5952
  *
5953
5953
  * @see {@link recurs} for creating a count-limited schedule
5954
5954
  *
5955
- * @category utils
5955
+ * @category taking
5956
5956
  * @since 4.0.0
5957
5957
  */
5958
5958
  <Output, Input, Error, Env>(self: Schedule<Output, Input, Error, Env>, n: number): Schedule<Output, Input, Error, Env>
@@ -6124,7 +6124,7 @@ export {
6124
6124
  * @see {@link collectWhile} for collecting outputs while using the same predicate
6125
6125
  * @see {@link take} for stopping after a fixed number of schedule outputs
6126
6126
  *
6127
- * @category utils
6127
+ * @category filtering
6128
6128
  * @since 4.0.0
6129
6129
  */
6130
6130
  while_ as while