effect 4.0.1 → 4.0.2

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 (917) hide show
  1. package/ai-docs/package.json +2 -2
  2. package/ai-docs/tsconfig.json +2 -1
  3. package/dist/Array.d.ts +339 -0
  4. package/dist/Array.d.ts.map +1 -1
  5. package/dist/Array.js +143 -3
  6. package/dist/Array.js.map +1 -1
  7. package/dist/BigDecimal.d.ts +88 -0
  8. package/dist/BigDecimal.d.ts.map +1 -1
  9. package/dist/BigDecimal.js +44 -0
  10. package/dist/BigDecimal.js.map +1 -1
  11. package/dist/BigInt.d.ts +68 -0
  12. package/dist/BigInt.d.ts.map +1 -1
  13. package/dist/BigInt.js +36 -0
  14. package/dist/BigInt.js.map +1 -1
  15. package/dist/Boolean.d.ts +34 -0
  16. package/dist/Boolean.d.ts.map +1 -1
  17. package/dist/Boolean.js +18 -0
  18. package/dist/Boolean.js.map +1 -1
  19. package/dist/Brand.d.ts +9 -0
  20. package/dist/Brand.d.ts.map +1 -1
  21. package/dist/Brand.js +6 -0
  22. package/dist/Brand.js.map +1 -1
  23. package/dist/ByteSize.d.ts +86 -0
  24. package/dist/ByteSize.d.ts.map +1 -1
  25. package/dist/ByteSize.js +51 -0
  26. package/dist/ByteSize.js.map +1 -1
  27. package/dist/Cache.d.ts +38 -1
  28. package/dist/Cache.d.ts.map +1 -1
  29. package/dist/Cache.js +27 -7
  30. package/dist/Cache.js.map +1 -1
  31. package/dist/Cause.d.ts +82 -0
  32. package/dist/Cause.d.ts.map +1 -1
  33. package/dist/Cause.js +60 -0
  34. package/dist/Cause.js.map +1 -1
  35. package/dist/Channel.d.ts +327 -4
  36. package/dist/Channel.d.ts.map +1 -1
  37. package/dist/Channel.js +168 -8
  38. package/dist/Channel.js.map +1 -1
  39. package/dist/ChannelSchema.d.ts +11 -0
  40. package/dist/ChannelSchema.d.ts.map +1 -1
  41. package/dist/ChannelSchema.js +6 -0
  42. package/dist/ChannelSchema.js.map +1 -1
  43. package/dist/Chunk.d.ts +192 -0
  44. package/dist/Chunk.d.ts.map +1 -1
  45. package/dist/Chunk.js +78 -0
  46. package/dist/Chunk.js.map +1 -1
  47. package/dist/Clock.d.ts +7 -0
  48. package/dist/Clock.d.ts.map +1 -1
  49. package/dist/Clock.js +5 -0
  50. package/dist/Clock.js.map +1 -1
  51. package/dist/Combiner.d.ts +10 -0
  52. package/dist/Combiner.d.ts.map +1 -1
  53. package/dist/Combiner.js +8 -0
  54. package/dist/Combiner.js.map +1 -1
  55. package/dist/Config.d.ts +52 -12
  56. package/dist/Config.d.ts.map +1 -1
  57. package/dist/Config.js +55 -5
  58. package/dist/Config.js.map +1 -1
  59. package/dist/ConfigProvider.d.ts +28 -0
  60. package/dist/ConfigProvider.d.ts.map +1 -1
  61. package/dist/ConfigProvider.js +19 -0
  62. package/dist/ConfigProvider.js.map +1 -1
  63. package/dist/Console.d.ts +22 -0
  64. package/dist/Console.d.ts.map +1 -1
  65. package/dist/Console.js +20 -0
  66. package/dist/Console.js.map +1 -1
  67. package/dist/Context.d.ts +50 -0
  68. package/dist/Context.d.ts.map +1 -1
  69. package/dist/Context.js +21 -0
  70. package/dist/Context.js.map +1 -1
  71. package/dist/Cron.d.ts +16 -0
  72. package/dist/Cron.d.ts.map +1 -1
  73. package/dist/Cron.js +26 -1
  74. package/dist/Cron.js.map +1 -1
  75. package/dist/Crypto.d.ts +5 -0
  76. package/dist/Crypto.d.ts.map +1 -1
  77. package/dist/Crypto.js +3 -0
  78. package/dist/Crypto.js.map +1 -1
  79. package/dist/Data.d.ts +13 -0
  80. package/dist/Data.d.ts.map +1 -1
  81. package/dist/Data.js +5 -0
  82. package/dist/Data.js.map +1 -1
  83. package/dist/DateTime.d.ts +171 -0
  84. package/dist/DateTime.d.ts.map +1 -1
  85. package/dist/DateTime.js +89 -0
  86. package/dist/DateTime.js.map +1 -1
  87. package/dist/Deferred.d.ts +51 -0
  88. package/dist/Deferred.d.ts.map +1 -1
  89. package/dist/Deferred.js +22 -0
  90. package/dist/Deferred.js.map +1 -1
  91. package/dist/Differ.d.ts +2 -0
  92. package/dist/Differ.d.ts.map +1 -1
  93. package/dist/Differ.js +1 -0
  94. package/dist/Duration.d.ts +90 -0
  95. package/dist/Duration.d.ts.map +1 -1
  96. package/dist/Duration.js +53 -0
  97. package/dist/Duration.js.map +1 -1
  98. package/dist/Effect.d.ts +527 -0
  99. package/dist/Effect.d.ts.map +1 -1
  100. package/dist/Effect.js +240 -5
  101. package/dist/Effect.js.map +1 -1
  102. package/dist/Effectable.d.ts +4 -0
  103. package/dist/Effectable.d.ts.map +1 -1
  104. package/dist/Effectable.js +3 -0
  105. package/dist/Effectable.js.map +1 -1
  106. package/dist/Equal.d.ts +8 -0
  107. package/dist/Equal.d.ts.map +1 -1
  108. package/dist/Equal.js +9 -1
  109. package/dist/Equal.js.map +1 -1
  110. package/dist/Equivalence.d.ts +21 -0
  111. package/dist/Equivalence.d.ts.map +1 -1
  112. package/dist/Equivalence.js +16 -0
  113. package/dist/Equivalence.js.map +1 -1
  114. package/dist/ErrorReporter.d.ts +36 -0
  115. package/dist/ErrorReporter.d.ts.map +1 -1
  116. package/dist/ErrorReporter.js +11 -0
  117. package/dist/ErrorReporter.js.map +1 -1
  118. package/dist/ExecutionPlan.d.ts +49 -8
  119. package/dist/ExecutionPlan.d.ts.map +1 -1
  120. package/dist/ExecutionPlan.js +7 -0
  121. package/dist/ExecutionPlan.js.map +1 -1
  122. package/dist/Exit.d.ts +40 -0
  123. package/dist/Exit.d.ts.map +1 -1
  124. package/dist/Exit.js +27 -0
  125. package/dist/Exit.js.map +1 -1
  126. package/dist/Fiber.d.ts +20 -0
  127. package/dist/Fiber.d.ts.map +1 -1
  128. package/dist/Fiber.js +11 -0
  129. package/dist/Fiber.js.map +1 -1
  130. package/dist/FiberHandle.d.ts +21 -0
  131. package/dist/FiberHandle.d.ts.map +1 -1
  132. package/dist/FiberHandle.js +21 -4
  133. package/dist/FiberHandle.js.map +1 -1
  134. package/dist/FiberMap.d.ts +35 -0
  135. package/dist/FiberMap.d.ts.map +1 -1
  136. package/dist/FiberMap.js +19 -0
  137. package/dist/FiberMap.js.map +1 -1
  138. package/dist/FiberSet.d.ts +20 -0
  139. package/dist/FiberSet.d.ts.map +1 -1
  140. package/dist/FiberSet.js +14 -0
  141. package/dist/FiberSet.js.map +1 -1
  142. package/dist/FileSystem.d.ts +15 -0
  143. package/dist/FileSystem.d.ts.map +1 -1
  144. package/dist/FileSystem.js +8 -0
  145. package/dist/FileSystem.js.map +1 -1
  146. package/dist/Filter.d.ts +55 -0
  147. package/dist/Filter.d.ts.map +1 -1
  148. package/dist/Filter.js +28 -0
  149. package/dist/Filter.js.map +1 -1
  150. package/dist/Formatter.d.ts +3 -0
  151. package/dist/Formatter.d.ts.map +1 -1
  152. package/dist/Formatter.js +39 -1
  153. package/dist/Formatter.js.map +1 -1
  154. package/dist/Function.d.ts +30 -0
  155. package/dist/Function.d.ts.map +1 -1
  156. package/dist/Function.js +20 -0
  157. package/dist/Function.js.map +1 -1
  158. package/dist/Graph.d.ts +247 -12
  159. package/dist/Graph.d.ts.map +1 -1
  160. package/dist/Graph.js +149 -28
  161. package/dist/Graph.js.map +1 -1
  162. package/dist/HKT.d.ts +5 -0
  163. package/dist/HKT.d.ts.map +1 -1
  164. package/dist/Hash.d.ts +14 -0
  165. package/dist/Hash.d.ts.map +1 -1
  166. package/dist/Hash.js +12 -0
  167. package/dist/Hash.js.map +1 -1
  168. package/dist/HashMap.d.ts +91 -0
  169. package/dist/HashMap.d.ts.map +1 -1
  170. package/dist/HashMap.js +39 -0
  171. package/dist/HashMap.js.map +1 -1
  172. package/dist/HashRing.d.ts +17 -0
  173. package/dist/HashRing.d.ts.map +1 -1
  174. package/dist/HashRing.js +9 -0
  175. package/dist/HashRing.js.map +1 -1
  176. package/dist/HashSet.d.ts +49 -0
  177. package/dist/HashSet.d.ts.map +1 -1
  178. package/dist/HashSet.js +19 -0
  179. package/dist/HashSet.js.map +1 -1
  180. package/dist/Inspectable.d.ts +7 -0
  181. package/dist/Inspectable.d.ts.map +1 -1
  182. package/dist/Inspectable.js +6 -0
  183. package/dist/Inspectable.js.map +1 -1
  184. package/dist/Iterable.d.ts +127 -0
  185. package/dist/Iterable.d.ts.map +1 -1
  186. package/dist/Iterable.js +51 -0
  187. package/dist/Iterable.js.map +1 -1
  188. package/dist/JsonPatch.d.ts +4 -0
  189. package/dist/JsonPatch.d.ts.map +1 -1
  190. package/dist/JsonPatch.js +3 -0
  191. package/dist/JsonPatch.js.map +1 -1
  192. package/dist/JsonPointer.d.ts +5 -0
  193. package/dist/JsonPointer.d.ts.map +1 -1
  194. package/dist/JsonPointer.js +5 -0
  195. package/dist/JsonPointer.js.map +1 -1
  196. package/dist/JsonSchema.d.ts +16 -0
  197. package/dist/JsonSchema.d.ts.map +1 -1
  198. package/dist/JsonSchema.js +11 -0
  199. package/dist/JsonSchema.js.map +1 -1
  200. package/dist/Latch.d.ts +14 -0
  201. package/dist/Latch.d.ts.map +1 -1
  202. package/dist/Latch.js +10 -0
  203. package/dist/Latch.js.map +1 -1
  204. package/dist/Layer.d.ts +100 -0
  205. package/dist/Layer.d.ts.map +1 -1
  206. package/dist/Layer.js +45 -1
  207. package/dist/Layer.js.map +1 -1
  208. package/dist/LayerMap.d.ts +7 -0
  209. package/dist/LayerMap.d.ts.map +1 -1
  210. package/dist/LayerMap.js +4 -0
  211. package/dist/LayerMap.js.map +1 -1
  212. package/dist/LayerRef.d.ts +5 -0
  213. package/dist/LayerRef.d.ts.map +1 -1
  214. package/dist/LayerRef.js +3 -0
  215. package/dist/LayerRef.js.map +1 -1
  216. package/dist/LogLevel.d.ts +20 -0
  217. package/dist/LogLevel.d.ts.map +1 -1
  218. package/dist/LogLevel.js +9 -0
  219. package/dist/LogLevel.js.map +1 -1
  220. package/dist/Logger.d.ts +25 -0
  221. package/dist/Logger.d.ts.map +1 -1
  222. package/dist/Logger.js +30 -4
  223. package/dist/Logger.js.map +1 -1
  224. package/dist/ManagedRuntime.d.ts +5 -0
  225. package/dist/ManagedRuntime.d.ts.map +1 -1
  226. package/dist/ManagedRuntime.js +9 -1
  227. package/dist/ManagedRuntime.js.map +1 -1
  228. package/dist/Match.d.ts +51 -0
  229. package/dist/Match.d.ts.map +1 -1
  230. package/dist/Match.js +39 -0
  231. package/dist/Match.js.map +1 -1
  232. package/dist/Metric.d.ts +59 -0
  233. package/dist/Metric.d.ts.map +1 -1
  234. package/dist/Metric.js +31 -0
  235. package/dist/Metric.js.map +1 -1
  236. package/dist/MutableHashMap.d.ts +32 -0
  237. package/dist/MutableHashMap.d.ts.map +1 -1
  238. package/dist/MutableHashMap.js +16 -0
  239. package/dist/MutableHashMap.js.map +1 -1
  240. package/dist/MutableHashSet.d.ts +16 -0
  241. package/dist/MutableHashSet.d.ts.map +1 -1
  242. package/dist/MutableHashSet.js +10 -0
  243. package/dist/MutableHashSet.js.map +1 -1
  244. package/dist/MutableList.d.ts +20 -0
  245. package/dist/MutableList.d.ts.map +1 -1
  246. package/dist/MutableList.js +18 -0
  247. package/dist/MutableList.js.map +1 -1
  248. package/dist/MutableRef.d.ts +31 -0
  249. package/dist/MutableRef.d.ts.map +1 -1
  250. package/dist/MutableRef.js +17 -0
  251. package/dist/MutableRef.js.map +1 -1
  252. package/dist/Newtype.d.ts +9 -0
  253. package/dist/Newtype.d.ts.map +1 -1
  254. package/dist/Newtype.js +6 -0
  255. package/dist/Newtype.js.map +1 -1
  256. package/dist/NonEmptyIterable.d.ts +4 -0
  257. package/dist/NonEmptyIterable.d.ts.map +1 -1
  258. package/dist/NonEmptyIterable.js +2 -0
  259. package/dist/NonEmptyIterable.js.map +1 -1
  260. package/dist/Number.d.ts +61 -0
  261. package/dist/Number.d.ts.map +1 -1
  262. package/dist/Number.js +31 -0
  263. package/dist/Number.js.map +1 -1
  264. package/dist/Optic.d.ts +41 -0
  265. package/dist/Optic.d.ts.map +1 -1
  266. package/dist/Optic.js +20 -0
  267. package/dist/Optic.js.map +1 -1
  268. package/dist/Option.d.ts +134 -0
  269. package/dist/Option.d.ts.map +1 -1
  270. package/dist/Option.js +61 -0
  271. package/dist/Option.js.map +1 -1
  272. package/dist/Order.d.ts +29 -0
  273. package/dist/Order.d.ts.map +1 -1
  274. package/dist/Order.js +24 -0
  275. package/dist/Order.js.map +1 -1
  276. package/dist/Ordering.d.ts +7 -0
  277. package/dist/Ordering.d.ts.map +1 -1
  278. package/dist/Ordering.js +3 -0
  279. package/dist/Ordering.js.map +1 -1
  280. package/dist/PartitionedSemaphore.d.ts +24 -0
  281. package/dist/PartitionedSemaphore.d.ts.map +1 -1
  282. package/dist/PartitionedSemaphore.js +47 -21
  283. package/dist/PartitionedSemaphore.js.map +1 -1
  284. package/dist/Path.d.ts +6 -0
  285. package/dist/Path.d.ts.map +1 -1
  286. package/dist/Path.js +4 -0
  287. package/dist/Path.js.map +1 -1
  288. package/dist/Pipeable.d.ts +7 -0
  289. package/dist/Pipeable.d.ts.map +1 -1
  290. package/dist/Pipeable.js +5 -0
  291. package/dist/Pipeable.js.map +1 -1
  292. package/dist/PlatformError.d.ts +8 -0
  293. package/dist/PlatformError.d.ts.map +1 -1
  294. package/dist/PlatformError.js +7 -0
  295. package/dist/PlatformError.js.map +1 -1
  296. package/dist/Pool.d.ts +19 -0
  297. package/dist/Pool.d.ts.map +1 -1
  298. package/dist/Pool.js +8 -1
  299. package/dist/Pool.js.map +1 -1
  300. package/dist/Predicate.d.ts +84 -0
  301. package/dist/Predicate.d.ts.map +1 -1
  302. package/dist/Predicate.js +48 -0
  303. package/dist/Predicate.js.map +1 -1
  304. package/dist/PrimaryKey.d.ts +5 -0
  305. package/dist/PrimaryKey.d.ts.map +1 -1
  306. package/dist/PrimaryKey.js +4 -0
  307. package/dist/PrimaryKey.js.map +1 -1
  308. package/dist/PubSub.d.ts +67 -5
  309. package/dist/PubSub.d.ts.map +1 -1
  310. package/dist/PubSub.js +60 -8
  311. package/dist/PubSub.js.map +1 -1
  312. package/dist/Pull.d.ts +20 -0
  313. package/dist/Pull.d.ts.map +1 -1
  314. package/dist/Pull.js +10 -0
  315. package/dist/Pull.js.map +1 -1
  316. package/dist/Queue.d.ts +60 -0
  317. package/dist/Queue.d.ts.map +1 -1
  318. package/dist/Queue.js +58 -8
  319. package/dist/Queue.js.map +1 -1
  320. package/dist/Random.d.ts +13 -0
  321. package/dist/Random.d.ts.map +1 -1
  322. package/dist/Random.js +9 -0
  323. package/dist/Random.js.map +1 -1
  324. package/dist/RcMap.d.ts +23 -0
  325. package/dist/RcMap.d.ts.map +1 -1
  326. package/dist/RcMap.js +8 -0
  327. package/dist/RcMap.js.map +1 -1
  328. package/dist/RcRef.d.ts +6 -0
  329. package/dist/RcRef.d.ts.map +1 -1
  330. package/dist/RcRef.js +3 -0
  331. package/dist/RcRef.js.map +1 -1
  332. package/dist/Record.d.ts +100 -0
  333. package/dist/Record.d.ts.map +1 -1
  334. package/dist/Record.js +43 -0
  335. package/dist/Record.js.map +1 -1
  336. package/dist/Redactable.d.ts +6 -0
  337. package/dist/Redactable.d.ts.map +1 -1
  338. package/dist/Redactable.js +4 -0
  339. package/dist/Redactable.js.map +1 -1
  340. package/dist/Redacted.d.ts +8 -0
  341. package/dist/Redacted.d.ts.map +1 -1
  342. package/dist/Redacted.js +6 -0
  343. package/dist/Redacted.js.map +1 -1
  344. package/dist/Reducer.d.ts +4 -0
  345. package/dist/Reducer.d.ts.map +1 -1
  346. package/dist/Reducer.js +3 -0
  347. package/dist/Reducer.js.map +1 -1
  348. package/dist/Ref.d.ts +20 -0
  349. package/dist/Ref.d.ts.map +1 -1
  350. package/dist/Ref.js +16 -0
  351. package/dist/Ref.js.map +1 -1
  352. package/dist/References.d.ts +21 -0
  353. package/dist/References.d.ts.map +1 -1
  354. package/dist/References.js +19 -0
  355. package/dist/References.js.map +1 -1
  356. package/dist/RegExp.d.ts +3 -0
  357. package/dist/RegExp.d.ts.map +1 -1
  358. package/dist/RegExp.js +4 -0
  359. package/dist/RegExp.js.map +1 -1
  360. package/dist/Request.d.ts +32 -0
  361. package/dist/Request.d.ts.map +1 -1
  362. package/dist/Request.js +12 -0
  363. package/dist/Request.js.map +1 -1
  364. package/dist/RequestResolver.d.ts +42 -0
  365. package/dist/RequestResolver.d.ts.map +1 -1
  366. package/dist/RequestResolver.js +27 -6
  367. package/dist/RequestResolver.js.map +1 -1
  368. package/dist/Resource.d.ts +6 -0
  369. package/dist/Resource.d.ts.map +1 -1
  370. package/dist/Resource.js +6 -0
  371. package/dist/Resource.js.map +1 -1
  372. package/dist/Result.d.ts +91 -0
  373. package/dist/Result.d.ts.map +1 -1
  374. package/dist/Result.js +41 -0
  375. package/dist/Result.js.map +1 -1
  376. package/dist/Runtime.d.ts +9 -0
  377. package/dist/Runtime.d.ts.map +1 -1
  378. package/dist/Runtime.js +7 -0
  379. package/dist/Runtime.js.map +1 -1
  380. package/dist/Schedule.d.ts +57 -0
  381. package/dist/Schedule.d.ts.map +1 -1
  382. package/dist/Schedule.js +32 -0
  383. package/dist/Schedule.js.map +1 -1
  384. package/dist/Scheduler.d.ts +7 -0
  385. package/dist/Scheduler.d.ts.map +1 -1
  386. package/dist/Scheduler.js +5 -0
  387. package/dist/Scheduler.js.map +1 -1
  388. package/dist/Schema.d.ts +496 -1
  389. package/dist/Schema.d.ts.map +1 -1
  390. package/dist/Schema.js +280 -1
  391. package/dist/Schema.js.map +1 -1
  392. package/dist/SchemaAST.d.ts +107 -0
  393. package/dist/SchemaAST.d.ts.map +1 -1
  394. package/dist/SchemaAST.js +81 -1
  395. package/dist/SchemaAST.js.map +1 -1
  396. package/dist/SchemaGetter.d.ts +69 -2
  397. package/dist/SchemaGetter.d.ts.map +1 -1
  398. package/dist/SchemaGetter.js +63 -4
  399. package/dist/SchemaGetter.js.map +1 -1
  400. package/dist/SchemaIssue.d.ts +33 -0
  401. package/dist/SchemaIssue.d.ts.map +1 -1
  402. package/dist/SchemaIssue.js +18 -0
  403. package/dist/SchemaIssue.js.map +1 -1
  404. package/dist/SchemaParser.d.ts +25 -0
  405. package/dist/SchemaParser.d.ts.map +1 -1
  406. package/dist/SchemaParser.js +26 -0
  407. package/dist/SchemaParser.js.map +1 -1
  408. package/dist/SchemaRepresentation.d.ts +147 -0
  409. package/dist/SchemaRepresentation.d.ts.map +1 -1
  410. package/dist/SchemaRepresentation.js +99 -0
  411. package/dist/SchemaRepresentation.js.map +1 -1
  412. package/dist/SchemaTransformation.d.ts +53 -0
  413. package/dist/SchemaTransformation.d.ts.map +1 -1
  414. package/dist/SchemaTransformation.js +46 -0
  415. package/dist/SchemaTransformation.js.map +1 -1
  416. package/dist/Scope.d.ts +19 -0
  417. package/dist/Scope.d.ts.map +1 -1
  418. package/dist/Scope.js +12 -0
  419. package/dist/Scope.js.map +1 -1
  420. package/dist/ScopedCache.d.ts +34 -0
  421. package/dist/ScopedCache.d.ts.map +1 -1
  422. package/dist/ScopedCache.js +26 -3
  423. package/dist/ScopedCache.js.map +1 -1
  424. package/dist/ScopedRef.d.ts +9 -0
  425. package/dist/ScopedRef.d.ts.map +1 -1
  426. package/dist/ScopedRef.js +6 -0
  427. package/dist/ScopedRef.js.map +1 -1
  428. package/dist/Semaphore.d.ts +26 -0
  429. package/dist/Semaphore.d.ts.map +1 -1
  430. package/dist/Semaphore.js +10 -0
  431. package/dist/Semaphore.js.map +1 -1
  432. package/dist/Sink.d.ts +125 -1
  433. package/dist/Sink.d.ts.map +1 -1
  434. package/dist/Sink.js +75 -1
  435. package/dist/Sink.js.map +1 -1
  436. package/dist/StandardSchema.d.ts +1 -0
  437. package/dist/StandardSchema.d.ts.map +1 -1
  438. package/dist/StandardSchema.js +1 -0
  439. package/dist/Stdio.d.ts +7 -0
  440. package/dist/Stdio.d.ts.map +1 -1
  441. package/dist/Stdio.js +5 -0
  442. package/dist/Stdio.js.map +1 -1
  443. package/dist/Stream.d.ts +558 -0
  444. package/dist/Stream.d.ts.map +1 -1
  445. package/dist/Stream.js +261 -13
  446. package/dist/Stream.js.map +1 -1
  447. package/dist/String.d.ts +87 -0
  448. package/dist/String.d.ts.map +1 -1
  449. package/dist/String.js +61 -0
  450. package/dist/String.js.map +1 -1
  451. package/dist/Struct.d.ts +46 -0
  452. package/dist/Struct.d.ts.map +1 -1
  453. package/dist/Struct.js +19 -0
  454. package/dist/Struct.js.map +1 -1
  455. package/dist/SubscriptionRef.d.ts +65 -0
  456. package/dist/SubscriptionRef.d.ts.map +1 -1
  457. package/dist/SubscriptionRef.js +25 -0
  458. package/dist/SubscriptionRef.js.map +1 -1
  459. package/dist/Symbol.d.ts +2 -0
  460. package/dist/Symbol.d.ts.map +1 -1
  461. package/dist/Symbol.js +2 -0
  462. package/dist/Symbol.js.map +1 -1
  463. package/dist/SynchronizedRef.d.ts +63 -0
  464. package/dist/SynchronizedRef.d.ts.map +1 -1
  465. package/dist/SynchronizedRef.js +24 -0
  466. package/dist/SynchronizedRef.js.map +1 -1
  467. package/dist/Take.d.ts +3 -0
  468. package/dist/Take.d.ts.map +1 -1
  469. package/dist/Take.js +1 -0
  470. package/dist/Take.js.map +1 -1
  471. package/dist/Terminal.d.ts +8 -0
  472. package/dist/Terminal.d.ts.map +1 -1
  473. package/dist/Terminal.js +4 -0
  474. package/dist/Terminal.js.map +1 -1
  475. package/dist/Tracer.d.ts +23 -0
  476. package/dist/Tracer.d.ts.map +1 -1
  477. package/dist/Tracer.js +12 -0
  478. package/dist/Tracer.js.map +1 -1
  479. package/dist/Trie.d.ts +68 -0
  480. package/dist/Trie.d.ts.map +1 -1
  481. package/dist/Trie.js +28 -0
  482. package/dist/Trie.js.map +1 -1
  483. package/dist/Tuple.d.ts +38 -0
  484. package/dist/Tuple.d.ts.map +1 -1
  485. package/dist/Tuple.js +18 -0
  486. package/dist/Tuple.js.map +1 -1
  487. package/dist/TxChunk.d.ts +52 -0
  488. package/dist/TxChunk.d.ts.map +1 -1
  489. package/dist/TxChunk.js +23 -0
  490. package/dist/TxChunk.js.map +1 -1
  491. package/dist/TxDeferred.d.ts +15 -0
  492. package/dist/TxDeferred.d.ts.map +1 -1
  493. package/dist/TxDeferred.js +8 -0
  494. package/dist/TxDeferred.js.map +1 -1
  495. package/dist/TxHashMap.d.ts +83 -0
  496. package/dist/TxHashMap.d.ts.map +1 -1
  497. package/dist/TxHashMap.js +52 -7
  498. package/dist/TxHashMap.js.map +1 -1
  499. package/dist/TxHashSet.d.ts +51 -0
  500. package/dist/TxHashSet.d.ts.map +1 -1
  501. package/dist/TxHashSet.js +29 -4
  502. package/dist/TxHashSet.js.map +1 -1
  503. package/dist/TxPriorityQueue.d.ts +30 -0
  504. package/dist/TxPriorityQueue.d.ts.map +1 -1
  505. package/dist/TxPriorityQueue.js +22 -1
  506. package/dist/TxPriorityQueue.js.map +1 -1
  507. package/dist/TxPubSub.d.ts +25 -0
  508. package/dist/TxPubSub.d.ts.map +1 -1
  509. package/dist/TxPubSub.js +19 -0
  510. package/dist/TxPubSub.js.map +1 -1
  511. package/dist/TxQueue.d.ts +51 -0
  512. package/dist/TxQueue.d.ts.map +1 -1
  513. package/dist/TxQueue.js +30 -0
  514. package/dist/TxQueue.js.map +1 -1
  515. package/dist/TxReentrantLock.d.ts +24 -0
  516. package/dist/TxReentrantLock.d.ts.map +1 -1
  517. package/dist/TxReentrantLock.js +32 -18
  518. package/dist/TxReentrantLock.js.map +1 -1
  519. package/dist/TxRef.d.ts +14 -0
  520. package/dist/TxRef.d.ts.map +1 -1
  521. package/dist/TxRef.js +7 -0
  522. package/dist/TxRef.js.map +1 -1
  523. package/dist/TxSemaphore.d.ts +25 -0
  524. package/dist/TxSemaphore.d.ts.map +1 -1
  525. package/dist/TxSemaphore.js +29 -13
  526. package/dist/TxSemaphore.js.map +1 -1
  527. package/dist/TxSubscriptionRef.d.ts +25 -0
  528. package/dist/TxSubscriptionRef.d.ts.map +1 -1
  529. package/dist/TxSubscriptionRef.js +12 -0
  530. package/dist/TxSubscriptionRef.js.map +1 -1
  531. package/dist/Types.d.ts +36 -0
  532. package/dist/Types.d.ts.map +1 -1
  533. package/dist/Types.js +1 -0
  534. package/dist/UndefinedOr.d.ts +15 -0
  535. package/dist/UndefinedOr.d.ts.map +1 -1
  536. package/dist/UndefinedOr.js +9 -0
  537. package/dist/UndefinedOr.js.map +1 -1
  538. package/dist/Unify.d.ts +15 -0
  539. package/dist/Unify.d.ts.map +1 -1
  540. package/dist/Unify.js +2 -0
  541. package/dist/Unify.js.map +1 -1
  542. package/dist/Utils.d.ts +4 -0
  543. package/dist/Utils.d.ts.map +1 -1
  544. package/dist/Utils.js +1 -0
  545. package/dist/Utils.js.map +1 -1
  546. package/dist/Version.d.ts +26 -0
  547. package/dist/Version.d.ts.map +1 -0
  548. package/dist/Version.js +36 -0
  549. package/dist/Version.js.map +1 -0
  550. package/dist/ai/Chat.js +1 -1
  551. package/dist/ai/Chat.js.map +1 -1
  552. package/dist/ai/DecisionModel.d.ts +22 -0
  553. package/dist/ai/DecisionModel.d.ts.map +1 -1
  554. package/dist/ai/DecisionModel.js +22 -4
  555. package/dist/ai/DecisionModel.js.map +1 -1
  556. package/dist/ai/LanguageModel.d.ts.map +1 -1
  557. package/dist/ai/LanguageModel.js +14 -13
  558. package/dist/ai/LanguageModel.js.map +1 -1
  559. package/dist/ai/McpServer.d.ts +32 -11
  560. package/dist/ai/McpServer.d.ts.map +1 -1
  561. package/dist/ai/McpServer.js +213 -169
  562. package/dist/ai/McpServer.js.map +1 -1
  563. package/dist/ai/Telemetry.d.ts +49 -41
  564. package/dist/ai/Telemetry.d.ts.map +1 -1
  565. package/dist/ai/Telemetry.js +6 -8
  566. package/dist/ai/Telemetry.js.map +1 -1
  567. package/dist/ai/internal/mcpRuntime.js +79 -46
  568. package/dist/ai/internal/mcpRuntime.js.map +1 -1
  569. package/dist/ai/internal/mcpStatefulRuntime.js +1 -0
  570. package/dist/ai/internal/mcpStatefulRuntime.js.map +1 -1
  571. package/dist/cluster/K8sHttpClient.d.ts.map +1 -1
  572. package/dist/cluster/K8sHttpClient.js +5 -2
  573. package/dist/cluster/K8sHttpClient.js.map +1 -1
  574. package/dist/encoding/Base64.d.ts +4 -0
  575. package/dist/encoding/Base64.d.ts.map +1 -1
  576. package/dist/encoding/Base64.js +4 -0
  577. package/dist/encoding/Base64.js.map +1 -1
  578. package/dist/encoding/Base64Url.d.ts +4 -0
  579. package/dist/encoding/Base64Url.d.ts.map +1 -1
  580. package/dist/encoding/Base64Url.js +4 -0
  581. package/dist/encoding/Base64Url.js.map +1 -1
  582. package/dist/encoding/EncodingError.d.ts +4 -0
  583. package/dist/encoding/EncodingError.d.ts.map +1 -1
  584. package/dist/encoding/EncodingError.js +4 -0
  585. package/dist/encoding/EncodingError.js.map +1 -1
  586. package/dist/encoding/Hex.d.ts +5 -0
  587. package/dist/encoding/Hex.d.ts.map +1 -1
  588. package/dist/encoding/Hex.js +5 -0
  589. package/dist/encoding/Hex.js.map +1 -1
  590. package/dist/encoding/Toml.js +2 -2
  591. package/dist/encoding/Toml.js.map +1 -1
  592. package/dist/encoding/Yaml.d.ts.map +1 -1
  593. package/dist/encoding/Yaml.js +6 -4
  594. package/dist/encoding/Yaml.js.map +1 -1
  595. package/dist/encoding/index.d.ts +4 -0
  596. package/dist/encoding/index.d.ts.map +1 -1
  597. package/dist/encoding/index.js +4 -0
  598. package/dist/encoding/index.js.map +1 -1
  599. package/dist/eventlog/SqlEventJournal.js +8 -4
  600. package/dist/eventlog/SqlEventJournal.js.map +1 -1
  601. package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts +27 -10
  602. package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
  603. package/dist/eventlog/SqlEventLogServerUnencrypted.js +49 -7
  604. package/dist/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
  605. package/dist/http/Headers.d.ts +3 -1
  606. package/dist/http/Headers.d.ts.map +1 -1
  607. package/dist/http/Headers.js +4 -2
  608. package/dist/http/Headers.js.map +1 -1
  609. package/dist/http/HttpClient.d.ts +9 -0
  610. package/dist/http/HttpClient.d.ts.map +1 -1
  611. package/dist/http/HttpClient.js +40 -21
  612. package/dist/http/HttpClient.js.map +1 -1
  613. package/dist/http/HttpClientResponse.js +3 -1
  614. package/dist/http/HttpClientResponse.js.map +1 -1
  615. package/dist/http/HttpEffect.d.ts +3 -0
  616. package/dist/http/HttpEffect.d.ts.map +1 -1
  617. package/dist/http/HttpEffect.js +5 -2
  618. package/dist/http/HttpEffect.js.map +1 -1
  619. package/dist/http/HttpMiddleware.d.ts +17 -0
  620. package/dist/http/HttpMiddleware.d.ts.map +1 -1
  621. package/dist/http/HttpMiddleware.js +56 -39
  622. package/dist/http/HttpMiddleware.js.map +1 -1
  623. package/dist/http/HttpServer.d.ts +1 -1
  624. package/dist/http/HttpServer.d.ts.map +1 -1
  625. package/dist/http/internal/tracing.d.ts +2 -0
  626. package/dist/http/internal/tracing.d.ts.map +1 -0
  627. package/dist/http/internal/tracing.js +37 -0
  628. package/dist/http/internal/tracing.js.map +1 -0
  629. package/dist/http-api/HttpApiBuilder.js +2 -1
  630. package/dist/http-api/HttpApiBuilder.js.map +1 -1
  631. package/dist/http-api/HttpApiClient.d.ts +12 -3
  632. package/dist/http-api/HttpApiClient.d.ts.map +1 -1
  633. package/dist/http-api/HttpApiClient.js.map +1 -1
  634. package/dist/http-api/HttpApiError.d.ts +4 -3
  635. package/dist/http-api/HttpApiError.d.ts.map +1 -1
  636. package/dist/http-api/HttpApiError.js +7 -4
  637. package/dist/http-api/HttpApiError.js.map +1 -1
  638. package/dist/http-api/HttpApiSecurity.d.ts +8 -8
  639. package/dist/http-api/HttpApiSecurity.js +8 -8
  640. package/dist/index.d.ts +155 -0
  641. package/dist/index.d.ts.map +1 -1
  642. package/dist/index.js +155 -0
  643. package/dist/index.js.map +1 -1
  644. package/dist/internal/arbitrary/array.js +3 -3
  645. package/dist/internal/arbitrary/array.js.map +1 -1
  646. package/dist/internal/arbitrary/model.js +26 -11
  647. package/dist/internal/arbitrary/model.js.map +1 -1
  648. package/dist/internal/arbitrary/runner.js +8 -8
  649. package/dist/internal/arbitrary/runner.js.map +1 -1
  650. package/dist/internal/arbitrary/schema.js +4 -5
  651. package/dist/internal/arbitrary/schema.js.map +1 -1
  652. package/dist/internal/effect.js +41 -39
  653. package/dist/internal/effect.js.map +1 -1
  654. package/dist/internal/schedule.js +7 -5
  655. package/dist/internal/schedule.js.map +1 -1
  656. package/dist/internal/schema/standardSchema.js +2 -2
  657. package/dist/internal/schema/standardSchema.js.map +1 -1
  658. package/dist/internal/version.d.ts +2 -0
  659. package/dist/internal/version.d.ts.map +1 -0
  660. package/dist/internal/version.js +3 -0
  661. package/dist/internal/version.js.map +1 -0
  662. package/dist/observability/OtlpExporter.d.ts.map +1 -1
  663. package/dist/observability/OtlpExporter.js +5 -6
  664. package/dist/observability/OtlpExporter.js.map +1 -1
  665. package/dist/observability/OtlpLogger.d.ts.map +1 -1
  666. package/dist/observability/OtlpLogger.js +23 -27
  667. package/dist/observability/OtlpLogger.js.map +1 -1
  668. package/dist/observability/OtlpMetrics.d.ts +5 -3
  669. package/dist/observability/OtlpMetrics.d.ts.map +1 -1
  670. package/dist/observability/OtlpMetrics.js +21 -94
  671. package/dist/observability/OtlpMetrics.js.map +1 -1
  672. package/dist/observability/OtlpResource.d.ts +4 -3
  673. package/dist/observability/OtlpResource.d.ts.map +1 -1
  674. package/dist/observability/OtlpResource.js +20 -23
  675. package/dist/observability/OtlpResource.js.map +1 -1
  676. package/dist/observability/OtlpTracer.d.ts +1 -0
  677. package/dist/observability/OtlpTracer.d.ts.map +1 -1
  678. package/dist/observability/OtlpTracer.js +32 -36
  679. package/dist/observability/OtlpTracer.js.map +1 -1
  680. package/dist/observability/internal/otlpProtobuf.js +32 -1
  681. package/dist/observability/internal/otlpProtobuf.js.map +1 -1
  682. package/dist/reactivity/AsyncResult.d.ts +1 -1
  683. package/dist/reactivity/Atom.d.ts +5 -5
  684. package/dist/reactivity/Atom.d.ts.map +1 -1
  685. package/dist/reactivity/Atom.js +9 -5
  686. package/dist/reactivity/Atom.js.map +1 -1
  687. package/dist/reactivity/AtomHttpApi.d.ts +2 -2
  688. package/dist/reactivity/AtomHttpApi.d.ts.map +1 -1
  689. package/dist/reactivity/AtomRegistry.d.ts +8 -0
  690. package/dist/reactivity/AtomRegistry.d.ts.map +1 -1
  691. package/dist/reactivity/AtomRegistry.js.map +1 -1
  692. package/dist/rpc/RpcClient.d.ts +21 -3
  693. package/dist/rpc/RpcClient.d.ts.map +1 -1
  694. package/dist/rpc/RpcClient.js +38 -20
  695. package/dist/rpc/RpcClient.js.map +1 -1
  696. package/dist/rpc/RpcServer.d.ts.map +1 -1
  697. package/dist/rpc/RpcServer.js +18 -21
  698. package/dist/rpc/RpcServer.js.map +1 -1
  699. package/dist/rpc/internal/tracing.d.ts +2 -0
  700. package/dist/rpc/internal/tracing.d.ts.map +1 -0
  701. package/dist/rpc/internal/tracing.js +18 -0
  702. package/dist/rpc/internal/tracing.js.map +1 -0
  703. package/dist/schema/SchemaCompiler/runtime.js +9 -1
  704. package/dist/schema/SchemaCompiler/runtime.js.map +1 -1
  705. package/dist/sql/SqlClient.js +4 -4
  706. package/dist/sql/SqlClient.js.map +1 -1
  707. package/dist/sql/Statement.d.ts +21 -1
  708. package/dist/sql/Statement.d.ts.map +1 -1
  709. package/dist/sql/Statement.js +55 -7
  710. package/dist/sql/Statement.js.map +1 -1
  711. package/dist/testing/TestClock.d.ts +8 -0
  712. package/dist/testing/TestClock.d.ts.map +1 -1
  713. package/dist/testing/TestClock.js +7 -0
  714. package/dist/testing/TestClock.js.map +1 -1
  715. package/dist/testing/TestConsole.d.ts +7 -0
  716. package/dist/testing/TestConsole.d.ts.map +1 -1
  717. package/dist/testing/TestConsole.js +6 -0
  718. package/dist/testing/TestConsole.js.map +1 -1
  719. package/dist/testing/index.d.ts +3 -0
  720. package/dist/testing/index.d.ts.map +1 -1
  721. package/dist/testing/index.js +3 -0
  722. package/dist/testing/index.js.map +1 -1
  723. package/package.json +3 -3
  724. package/src/Array.ts +351 -3
  725. package/src/BigDecimal.ts +88 -0
  726. package/src/BigInt.ts +68 -0
  727. package/src/Boolean.ts +34 -0
  728. package/src/Brand.ts +10 -0
  729. package/src/ByteSize.ts +87 -0
  730. package/src/Cache.ts +50 -8
  731. package/src/Cause.ts +82 -0
  732. package/src/Channel.ts +368 -18
  733. package/src/ChannelSchema.ts +13 -0
  734. package/src/Chunk.ts +193 -0
  735. package/src/Clock.ts +7 -0
  736. package/src/Combiner.ts +10 -0
  737. package/src/Config.ts +82 -8
  738. package/src/ConfigProvider.ts +28 -0
  739. package/src/Console.ts +26 -0
  740. package/src/Context.ts +50 -0
  741. package/src/Cron.ts +32 -1
  742. package/src/Crypto.ts +5 -0
  743. package/src/Data.ts +13 -0
  744. package/src/DateTime.ts +171 -0
  745. package/src/Deferred.ts +51 -0
  746. package/src/Differ.ts +2 -0
  747. package/src/Duration.ts +90 -0
  748. package/src/Effect.ts +539 -5
  749. package/src/Effectable.ts +4 -0
  750. package/src/Equal.ts +12 -1
  751. package/src/Equivalence.ts +22 -0
  752. package/src/ErrorReporter.ts +36 -0
  753. package/src/ExecutionPlan.ts +58 -14
  754. package/src/Exit.ts +40 -0
  755. package/src/Fiber.ts +20 -0
  756. package/src/FiberHandle.ts +29 -4
  757. package/src/FiberMap.ts +38 -0
  758. package/src/FiberSet.ts +21 -0
  759. package/src/FileSystem.ts +16 -0
  760. package/src/Filter.ts +55 -0
  761. package/src/Formatter.ts +42 -1
  762. package/src/Function.ts +30 -0
  763. package/src/Graph.ts +317 -36
  764. package/src/HKT.ts +5 -0
  765. package/src/Hash.ts +15 -0
  766. package/src/HashMap.ts +91 -0
  767. package/src/HashRing.ts +18 -0
  768. package/src/HashSet.ts +53 -0
  769. package/src/Inspectable.ts +8 -0
  770. package/src/Iterable.ts +127 -0
  771. package/src/JsonPatch.ts +5 -0
  772. package/src/JsonPointer.ts +5 -0
  773. package/src/JsonSchema.ts +17 -0
  774. package/src/Latch.ts +14 -0
  775. package/src/Layer.ts +101 -1
  776. package/src/LayerMap.ts +7 -0
  777. package/src/LayerRef.ts +5 -0
  778. package/src/LogLevel.ts +20 -0
  779. package/src/Logger.ts +41 -5
  780. package/src/ManagedRuntime.ts +12 -1
  781. package/src/Match.ts +52 -0
  782. package/src/Metric.ts +69 -0
  783. package/src/MutableHashMap.ts +44 -0
  784. package/src/MutableHashSet.ts +17 -0
  785. package/src/MutableList.ts +21 -0
  786. package/src/MutableRef.ts +32 -0
  787. package/src/Newtype.ts +9 -0
  788. package/src/NonEmptyIterable.ts +4 -0
  789. package/src/Number.ts +61 -0
  790. package/src/Optic.ts +57 -0
  791. package/src/Option.ts +134 -0
  792. package/src/Order.ts +30 -0
  793. package/src/Ordering.ts +7 -0
  794. package/src/PartitionedSemaphore.ts +61 -22
  795. package/src/Path.ts +6 -0
  796. package/src/Pipeable.ts +7 -0
  797. package/src/PlatformError.ts +8 -0
  798. package/src/Pool.ts +20 -1
  799. package/src/Predicate.ts +85 -0
  800. package/src/PrimaryKey.ts +5 -0
  801. package/src/PubSub.ts +90 -9
  802. package/src/Pull.ts +20 -0
  803. package/src/Queue.ts +80 -10
  804. package/src/Random.ts +13 -0
  805. package/src/RcMap.ts +23 -0
  806. package/src/RcRef.ts +6 -0
  807. package/src/Record.ts +100 -0
  808. package/src/Redactable.ts +6 -0
  809. package/src/Redacted.ts +8 -0
  810. package/src/Reducer.ts +4 -0
  811. package/src/Ref.ts +42 -0
  812. package/src/References.ts +21 -0
  813. package/src/RegExp.ts +4 -0
  814. package/src/Request.ts +32 -0
  815. package/src/RequestResolver.ts +59 -10
  816. package/src/Resource.ts +7 -0
  817. package/src/Result.ts +93 -0
  818. package/src/Runtime.ts +10 -0
  819. package/src/Schedule.ts +61 -0
  820. package/src/Scheduler.ts +7 -0
  821. package/src/Schema.ts +499 -4
  822. package/src/SchemaAST.ts +115 -1
  823. package/src/SchemaGetter.ts +80 -4
  824. package/src/SchemaIssue.ts +34 -0
  825. package/src/SchemaParser.ts +26 -0
  826. package/src/SchemaRepresentation.ts +148 -0
  827. package/src/SchemaTransformation.ts +53 -0
  828. package/src/Scope.ts +19 -0
  829. package/src/ScopedCache.ts +55 -3
  830. package/src/ScopedRef.ts +9 -0
  831. package/src/Semaphore.ts +26 -0
  832. package/src/Sink.ts +126 -2
  833. package/src/StandardSchema.ts +1 -0
  834. package/src/Stdio.ts +7 -0
  835. package/src/Stream.ts +622 -15
  836. package/src/String.ts +87 -0
  837. package/src/Struct.ts +46 -0
  838. package/src/SubscriptionRef.ts +65 -0
  839. package/src/Symbol.ts +2 -0
  840. package/src/SynchronizedRef.ts +63 -0
  841. package/src/Take.ts +3 -0
  842. package/src/Terminal.ts +8 -0
  843. package/src/Tracer.ts +23 -0
  844. package/src/Trie.ts +68 -0
  845. package/src/Tuple.ts +38 -0
  846. package/src/TxChunk.ts +52 -0
  847. package/src/TxDeferred.ts +15 -0
  848. package/src/TxHashMap.ts +97 -6
  849. package/src/TxHashSet.ts +83 -3
  850. package/src/TxPriorityQueue.ts +34 -2
  851. package/src/TxPubSub.ts +26 -0
  852. package/src/TxQueue.ts +51 -0
  853. package/src/TxReentrantLock.ts +53 -36
  854. package/src/TxRef.ts +14 -0
  855. package/src/TxSemaphore.ts +47 -31
  856. package/src/TxSubscriptionRef.ts +25 -0
  857. package/src/Types.ts +36 -0
  858. package/src/UndefinedOr.ts +15 -0
  859. package/src/Unify.ts +15 -0
  860. package/src/Utils.ts +4 -0
  861. package/src/Version.ts +38 -0
  862. package/src/ai/Chat.ts +1 -1
  863. package/src/ai/DecisionModel.ts +42 -1
  864. package/src/ai/LanguageModel.ts +16 -19
  865. package/src/ai/McpServer.ts +107 -36
  866. package/src/ai/Telemetry.ts +62 -58
  867. package/src/ai/internal/mcpRuntime.ts +84 -43
  868. package/src/ai/internal/mcpStatefulRuntime.ts +2 -0
  869. package/src/cluster/K8sHttpClient.ts +12 -2
  870. package/src/encoding/Base64.ts +4 -0
  871. package/src/encoding/Base64Url.ts +4 -0
  872. package/src/encoding/EncodingError.ts +5 -0
  873. package/src/encoding/Hex.ts +5 -0
  874. package/src/encoding/Toml.ts +2 -2
  875. package/src/encoding/Yaml.ts +8 -4
  876. package/src/encoding/index.ts +4 -0
  877. package/src/eventlog/SqlEventJournal.ts +18 -4
  878. package/src/eventlog/SqlEventLogServerUnencrypted.ts +282 -235
  879. package/src/http/Headers.ts +8 -2
  880. package/src/http/HttpClient.ts +44 -27
  881. package/src/http/HttpClientResponse.ts +3 -1
  882. package/src/http/HttpEffect.ts +11 -2
  883. package/src/http/HttpMiddleware.ts +60 -45
  884. package/src/http/HttpServer.ts +1 -1
  885. package/src/http/internal/tracing.ts +52 -0
  886. package/src/http-api/HttpApiBuilder.ts +5 -1
  887. package/src/http-api/HttpApiClient.ts +13 -4
  888. package/src/http-api/HttpApiError.ts +8 -4
  889. package/src/http-api/HttpApiSecurity.ts +8 -8
  890. package/src/index.ts +156 -0
  891. package/src/internal/arbitrary/array.ts +3 -3
  892. package/src/internal/arbitrary/model.ts +37 -14
  893. package/src/internal/arbitrary/runner.ts +7 -7
  894. package/src/internal/arbitrary/schema.ts +4 -3
  895. package/src/internal/effect.ts +47 -45
  896. package/src/internal/schedule.ts +23 -17
  897. package/src/internal/schema/standardSchema.ts +2 -2
  898. package/src/internal/version.ts +2 -0
  899. package/src/observability/OtlpExporter.ts +9 -6
  900. package/src/observability/OtlpLogger.ts +20 -21
  901. package/src/observability/OtlpMetrics.ts +34 -93
  902. package/src/observability/OtlpResource.ts +18 -27
  903. package/src/observability/OtlpTracer.ts +34 -40
  904. package/src/observability/internal/otlpProtobuf.ts +60 -0
  905. package/src/reactivity/AsyncResult.ts +1 -1
  906. package/src/reactivity/Atom.ts +10 -6
  907. package/src/reactivity/AtomHttpApi.ts +2 -4
  908. package/src/reactivity/AtomRegistry.ts +7 -0
  909. package/src/rpc/RpcClient.ts +48 -24
  910. package/src/rpc/RpcServer.ts +26 -24
  911. package/src/rpc/internal/tracing.ts +22 -0
  912. package/src/schema/SchemaCompiler/runtime.ts +4 -1
  913. package/src/sql/SqlClient.ts +4 -4
  914. package/src/sql/Statement.ts +59 -7
  915. package/src/testing/TestClock.ts +9 -0
  916. package/src/testing/TestConsole.ts +8 -0
  917. package/src/testing/index.ts +3 -0
package/dist/Effect.d.ts CHANGED
@@ -8,6 +8,7 @@
8
8
  * creating effects, combining them, handling failures, managing resources, and
9
9
  * running effect programs.
10
10
  *
11
+ * @stability stable
11
12
  * @since 2.0.0
12
13
  */
13
14
  import type * as Arr from "./Array.ts";
@@ -42,6 +43,7 @@ import type * as Unify from "./Unify.ts";
42
43
  /**
43
44
  * Type-level identifier for `Effect` values.
44
45
  *
46
+ * @stability stable
45
47
  * @category type IDs
46
48
  * @since 4.0.0
47
49
  */
@@ -49,6 +51,7 @@ export type TypeId = "~effect/Effect";
49
51
  /**
50
52
  * Runtime identifier used to recognize `Effect` values.
51
53
  *
54
+ * @stability stable
52
55
  * @category type IDs
53
56
  * @since 4.0.0
54
57
  */
@@ -74,6 +77,7 @@ export declare const TypeId: TypeId;
74
77
  * To run an `Effect` value, you need a `Runtime`, which is a type that is
75
78
  * capable of executing `Effect` values.
76
79
  *
80
+ * @stability stable
77
81
  * @category models
78
82
  * @since 2.0.0
79
83
  */
@@ -87,6 +91,7 @@ export interface Effect<out A, out E = never, out R = never> extends Pipeable, I
87
91
  /**
88
92
  * Type-level unification support for `Effect` values.
89
93
  *
94
+ * @stability stable
90
95
  * @category models
91
96
  * @since 2.0.0
92
97
  */
@@ -98,6 +103,7 @@ export interface EffectUnify<A extends {
98
103
  /**
99
104
  * Type lambda used to represent `Effect` in higher-kinded APIs.
100
105
  *
106
+ * @stability stable
101
107
  * @category utility types
102
108
  * @since 2.0.0
103
109
  */
@@ -107,6 +113,7 @@ export interface EffectTypeLambda extends TypeLambda {
107
113
  /**
108
114
  * Variance interface for Effect, encoding the type parameters' variance.
109
115
  *
116
+ * @stability stable
110
117
  * @category models
111
118
  * @since 2.0.0
112
119
  */
@@ -126,6 +133,7 @@ export interface Variance<A, E, R> {
126
133
  * @see {@link Error} for extracting the failure type from the same `Effect`
127
134
  * @see {@link Services} for extracting the required services from the same `Effect`
128
135
  *
136
+ * @stability stable
129
137
  * @category utility types
130
138
  * @since 2.0.0
131
139
  */
@@ -145,6 +153,7 @@ export type Success<T> = T extends Effect<infer _A, infer _E, infer _R> ? _A : n
145
153
  * @see {@link Success} for extracting the success value type instead
146
154
  * @see {@link Services} for extracting the required services type instead
147
155
  *
156
+ * @stability stable
148
157
  * @category utility types
149
158
  * @since 2.0.0
150
159
  */
@@ -160,6 +169,7 @@ export type Error<T> = T extends Effect<infer _A, infer _E, infer _R> ? _E : nev
160
169
  * @see {@link Success} for extracting the success value type instead
161
170
  * @see {@link Error} for extracting the failure type instead
162
171
  *
172
+ * @stability stable
163
173
  * @category utility types
164
174
  * @since 4.0.0
165
175
  */
@@ -176,6 +186,7 @@ export type Services<T> = T extends Effect<infer _A, infer _E, infer _R> ? _R :
176
186
  * Effect.isEffect("hello") // => false
177
187
  * ```
178
188
  *
189
+ * @stability stable
179
190
  * @category guards
180
191
  * @since 2.0.0
181
192
  */
@@ -190,6 +201,7 @@ export declare const isEffect: (u: unknown) => u is Effect<unknown, unknown, unk
190
201
  *
191
202
  * @see {@link gen} for writing generator-based `Effect` programs that consume this iterator protocol
192
203
  *
204
+ * @stability stable
193
205
  * @category models
194
206
  * @since 4.0.0
195
207
  */
@@ -200,6 +212,7 @@ export interface EffectIterator<T extends Effect<any, any, any>> {
200
212
  * Namespace containing type utilities for the `Effect.all` function, which handles
201
213
  * collecting multiple effects into various output structures.
202
214
  *
215
+ * @stability stable
203
216
  * @category collecting
204
217
  * @since 2.0.0
205
218
  */
@@ -382,6 +395,7 @@ export declare namespace All {
382
395
  * ```
383
396
  *
384
397
  * @see {@link forEach} for iterating over elements and applying an effect.
398
+ * @stability stable
385
399
  * @category collecting
386
400
  * @since 2.0.0
387
401
  */
@@ -414,6 +428,7 @@ export declare const all: <const Arg extends Iterable<Effect<any, any, any>> | R
414
428
  * await Effect.runPromise(program) // => [[1, 3], ['0 is even', '2 is even']]
415
429
  * ```
416
430
  *
431
+ * @stability stable
417
432
  * @category collecting
418
433
  * @since 2.0.0
419
434
  */
@@ -442,6 +457,7 @@ export declare const partition: {
442
457
  * await Effect.runPromise(program) // => [[1, 3], ['0 is even', '2 is even']]
443
458
  * ```
444
459
  *
460
+ * @stability stable
445
461
  * @category collecting
446
462
  * @since 2.0.0
447
463
  */
@@ -472,6 +488,7 @@ export declare const partition: {
472
488
  * await Effect.runPromise(program) // => [[1, 3], ['0 is even', '2 is even']]
473
489
  * ```
474
490
  *
491
+ * @stability stable
475
492
  * @category collecting
476
493
  * @since 2.0.0
477
494
  */
@@ -513,6 +530,7 @@ export declare const partition: {
513
530
  * output // => ["Adding 1 at index 0", "Adding 2 at index 1", "Adding 3 at index 2", 6]
514
531
  * ```
515
532
  *
533
+ * @stability stable
516
534
  * @category collecting
517
535
  * @since 2.0.0
518
536
  */
@@ -551,6 +569,7 @@ export declare const reduce: {
551
569
  * output // => ["Adding 1 at index 0", "Adding 2 at index 1", "Adding 3 at index 2", 6]
552
570
  * ```
553
571
  *
572
+ * @stability stable
554
573
  * @category collecting
555
574
  * @since 2.0.0
556
575
  */
@@ -589,6 +608,7 @@ export declare const reduce: {
589
608
  * output // => ["Adding 1 at index 0", "Adding 2 at index 1", "Adding 3 at index 2", 6]
590
609
  * ```
591
610
  *
611
+ * @stability stable
592
612
  * @category collecting
593
613
  * @since 2.0.0
594
614
  */
@@ -618,6 +638,7 @@ export declare const reduce: {
618
638
  * await Effect.runPromiseExit(program) // => Exit.fail(["0 is even", "2 is even"])
619
639
  * ```
620
640
  *
641
+ * @stability stable
621
642
  * @category collecting
622
643
  * @since 2.0.0
623
644
  */
@@ -646,6 +667,7 @@ export declare const validate: {
646
667
  * await Effect.runPromiseExit(program) // => Exit.fail(["0 is even", "2 is even"])
647
668
  * ```
648
669
  *
670
+ * @stability stable
649
671
  * @category collecting
650
672
  * @since 2.0.0
651
673
  */
@@ -677,6 +699,7 @@ export declare const validate: {
677
699
  * await Effect.runPromiseExit(program) // => Exit.fail(["0 is even", "2 is even"])
678
700
  * ```
679
701
  *
702
+ * @stability stable
680
703
  * @category collecting
681
704
  * @since 2.0.0
682
705
  */
@@ -708,6 +731,7 @@ export declare const validate: {
708
731
  * await Effect.runPromiseExit(program) // => Exit.fail(["0 is even", "2 is even"])
709
732
  * ```
710
733
  *
734
+ * @stability stable
711
735
  * @category collecting
712
736
  * @since 2.0.0
713
737
  */
@@ -739,6 +763,7 @@ export declare const validate: {
739
763
  * await Effect.runPromiseExit(program) // => Exit.fail(["0 is even", "2 is even"])
740
764
  * ```
741
765
  *
766
+ * @stability stable
742
767
  * @category collecting
743
768
  * @since 2.0.0
744
769
  */
@@ -765,6 +790,7 @@ export declare const validate: {
765
790
  * await Effect.runPromise(program) // => Option.some(3)
766
791
  * ```
767
792
  *
793
+ * @stability stable
768
794
  * @category collecting
769
795
  * @since 2.0.0
770
796
  */
@@ -787,6 +813,7 @@ export declare const findFirst: {
787
813
  * await Effect.runPromise(program) // => Option.some(3)
788
814
  * ```
789
815
  *
816
+ * @stability stable
790
817
  * @category collecting
791
818
  * @since 2.0.0
792
819
  */
@@ -809,6 +836,7 @@ export declare const findFirst: {
809
836
  * await Effect.runPromise(program) // => Option.some(3)
810
837
  * ```
811
838
  *
839
+ * @stability stable
812
840
  * @category collecting
813
841
  * @since 2.0.0
814
842
  */
@@ -829,6 +857,7 @@ export declare const findFirst: {
829
857
  *
830
858
  * @see {@link findFirst} for the simpler effectful predicate-based variant
831
859
  *
860
+ * @stability stable
832
861
  * @category collecting
833
862
  * @since 4.0.0
834
863
  */
@@ -848,6 +877,7 @@ export declare const findFirstFilter: {
848
877
  *
849
878
  * @see {@link findFirst} for the simpler effectful predicate-based variant
850
879
  *
880
+ * @stability stable
851
881
  * @category collecting
852
882
  * @since 4.0.0
853
883
  */
@@ -867,6 +897,7 @@ export declare const findFirstFilter: {
867
897
  *
868
898
  * @see {@link findFirst} for the simpler effectful predicate-based variant
869
899
  *
900
+ * @stability stable
870
901
  * @category collecting
871
902
  * @since 4.0.0
872
903
  */
@@ -933,6 +964,7 @@ export declare const findFirstFilter: {
933
964
  * ```
934
965
  *
935
966
  * @see {@link all} for combining multiple effects into one.
967
+ * @stability stable
936
968
  * @category collecting
937
969
  * @since 2.0.0
938
970
  */
@@ -998,6 +1030,7 @@ export declare const forEach: {
998
1030
  * ```
999
1031
  *
1000
1032
  * @see {@link all} for combining multiple effects into one.
1033
+ * @stability stable
1001
1034
  * @category collecting
1002
1035
  * @since 2.0.0
1003
1036
  */
@@ -1066,6 +1099,7 @@ export declare const forEach: {
1066
1099
  * ```
1067
1100
  *
1068
1101
  * @see {@link all} for combining multiple effects into one.
1102
+ * @stability stable
1069
1103
  * @category collecting
1070
1104
  * @since 2.0.0
1071
1105
  */
@@ -1095,6 +1129,7 @@ export declare const forEach: {
1095
1129
  * await Effect.runPromise(empty) // => Option.none()
1096
1130
  * ```
1097
1131
  *
1132
+ * @stability stable
1098
1133
  * @category collecting
1099
1134
  * @since 2.0.0
1100
1135
  */
@@ -1120,6 +1155,7 @@ export declare const head: <A, E, R>(self: Effect<Iterable<A>, E, R>) => Effect<
1120
1155
  * output // => ["Current count: 1", "Current count: 2", "Current count: 3", "Current count: 4", "Current count: 5"]
1121
1156
  * ```
1122
1157
  *
1158
+ * @stability stable
1123
1159
  * @category repetition
1124
1160
  * @since 2.0.0
1125
1161
  */
@@ -1165,6 +1201,7 @@ export declare const whileLoop: <A, E, R>(options: {
1165
1201
  * ```
1166
1202
  *
1167
1203
  * @see {@link tryPromise} for a version that can handle failures.
1204
+ * @stability stable
1168
1205
  * @category constructors
1169
1206
  * @since 2.0.0
1170
1207
  */
@@ -1236,6 +1273,7 @@ export declare const promise: <A>(evaluate: (signal: AbortSignal) => PromiseLike
1236
1273
  * ```
1237
1274
  *
1238
1275
  * @see {@link promise} if the effectful computation is asynchronous and does not throw errors.
1276
+ * @stability stable
1239
1277
  * @category constructors
1240
1278
  * @since 2.0.0
1241
1279
  */
@@ -1307,6 +1345,7 @@ export declare const tryPromise: {
1307
1345
  * ```
1308
1346
  *
1309
1347
  * @see {@link promise} if the effectful computation is asynchronous and does not throw errors.
1348
+ * @stability stable
1310
1349
  * @category constructors
1311
1350
  * @since 2.0.0
1312
1351
  */
@@ -1378,6 +1417,7 @@ export declare const tryPromise: {
1378
1417
  * ```
1379
1418
  *
1380
1419
  * @see {@link promise} if the effectful computation is asynchronous and does not throw errors.
1420
+ * @stability stable
1381
1421
  * @category constructors
1382
1422
  * @since 2.0.0
1383
1423
  */
@@ -1408,6 +1448,7 @@ export declare const tryPromise: {
1408
1448
  * ```
1409
1449
  *
1410
1450
  * @see {@link fail} to create an effect that represents a failure.
1451
+ * @stability stable
1411
1452
  * @category constructors
1412
1453
  * @since 2.0.0
1413
1454
  */
@@ -1425,6 +1466,7 @@ export declare const succeed: <A>(value: A) => Effect<A>;
1425
1466
  * Effect.runSync(program) // => Option.none()
1426
1467
  * ```
1427
1468
  *
1469
+ * @stability stable
1428
1470
  * @category constructors
1429
1471
  * @since 2.0.0
1430
1472
  */
@@ -1442,6 +1484,7 @@ export declare const succeedNone: Effect<Option<never>>;
1442
1484
  * Effect.runSync(program) // => Option.some(42)
1443
1485
  * ```
1444
1486
  *
1487
+ * @stability stable
1445
1488
  * @category constructors
1446
1489
  * @since 2.0.0
1447
1490
  */
@@ -1532,6 +1575,7 @@ export declare const succeedSome: <A>(value: A) => Effect<Option<A>>;
1532
1575
  * Effect.runSync(withSuspend(6, 2)) // => 3
1533
1576
  * ```
1534
1577
  *
1578
+ * @stability stable
1535
1579
  * @category constructors
1536
1580
  * @since 2.0.0
1537
1581
  */
@@ -1572,6 +1616,7 @@ export declare const suspend: <A, E, R>(effect: LazyArg<Effect<A, E, R>>) => Eff
1572
1616
  * ```
1573
1617
  *
1574
1618
  * @see {@link try_ | try} for a version that can handle failures.
1619
+ * @stability stable
1575
1620
  * @category constructors
1576
1621
  * @since 2.0.0
1577
1622
  */
@@ -1581,6 +1626,7 @@ export {
1581
1626
  /**
1582
1627
  * Returns an effect that succeeds with `void`.
1583
1628
  *
1629
+ * @stability stable
1584
1630
  * @category constructors
1585
1631
  * @since 2.0.0
1586
1632
  */
@@ -1590,6 +1636,7 @@ export {
1590
1636
  /**
1591
1637
  * Returns an effect that succeeds with `undefined`.
1592
1638
  *
1639
+ * @stability stable
1593
1640
  * @category constructors
1594
1641
  * @since 4.0.0
1595
1642
  */
@@ -1627,6 +1674,7 @@ undefined_ as undefined };
1627
1674
  * output // => ["callback completed"]
1628
1675
  * ```
1629
1676
  *
1677
+ * @stability stable
1630
1678
  * @category constructors
1631
1679
  * @since 4.0.0
1632
1680
  */
@@ -1644,6 +1692,7 @@ export declare const callback: <A, E = never, R = never>(register: (this: Schedu
1644
1692
  * await Effect.runPromise(program) // => Option.none()
1645
1693
  * ```
1646
1694
  *
1695
+ * @stability stable
1647
1696
  * @category constructors
1648
1697
  * @since 2.0.0
1649
1698
  */
@@ -1667,6 +1716,7 @@ export declare const never: Effect<never>;
1667
1716
  * Effect.runSync(program) // => { x: 2, y: 3, sum: 5 }
1668
1717
  * ```
1669
1718
  *
1719
+ * @stability stable
1670
1720
  * @category do notation
1671
1721
  * @since 2.0.0
1672
1722
  */
@@ -1683,6 +1733,7 @@ export declare const Do: Effect<{}>;
1683
1733
  * @see {@link Do} for starting from an empty accumulated record
1684
1734
  * @see {@link bind} for adding fields produced by effects
1685
1735
  *
1736
+ * @stability stable
1686
1737
  * @category do notation
1687
1738
  * @since 2.0.0
1688
1739
  */
@@ -1699,6 +1750,7 @@ export declare const bindTo: {
1699
1750
  * @see {@link Do} for starting from an empty accumulated record
1700
1751
  * @see {@link bind} for adding fields produced by effects
1701
1752
  *
1753
+ * @stability stable
1702
1754
  * @category do notation
1703
1755
  * @since 2.0.0
1704
1756
  */
@@ -1717,6 +1769,7 @@ export declare const bindTo: {
1717
1769
  * @see {@link Do} for starting from an empty accumulated record
1718
1770
  * @see {@link bind} for adding fields produced by effects
1719
1771
  *
1772
+ * @stability stable
1720
1773
  * @category do notation
1721
1774
  * @since 2.0.0
1722
1775
  */
@@ -1748,6 +1801,7 @@ export {
1748
1801
  * @see {@link Do} for starting from an empty accumulated record
1749
1802
  * @see {@link gen} for sequencing without accumulating a record
1750
1803
  *
1804
+ * @stability stable
1751
1805
  * @category do notation
1752
1806
  * @since 2.0.0
1753
1807
  */
@@ -1776,6 +1830,7 @@ let_ as let };
1776
1830
  * @see {@link bindTo} for naming the success value of an existing effect
1777
1831
  * @see {@link gen} for generator-based sequencing without accumulating a record
1778
1832
  *
1833
+ * @stability stable
1779
1834
  * @category do notation
1780
1835
  * @since 2.0.0
1781
1836
  */
@@ -1804,6 +1859,7 @@ export declare const bind: {
1804
1859
  * @see {@link bindTo} for naming the success value of an existing effect
1805
1860
  * @see {@link gen} for generator-based sequencing without accumulating a record
1806
1861
  *
1862
+ * @stability stable
1807
1863
  * @category do notation
1808
1864
  * @since 2.0.0
1809
1865
  */
@@ -1832,6 +1888,7 @@ export declare const bind: {
1832
1888
  * @see {@link bindTo} for naming the success value of an existing effect
1833
1889
  * @see {@link gen} for generator-based sequencing without accumulating a record
1834
1890
  *
1891
+ * @stability stable
1835
1892
  * @category do notation
1836
1893
  * @since 2.0.0
1837
1894
  */
@@ -1886,6 +1943,7 @@ export declare const bind: {
1886
1943
  * await Effect.runPromise(program) // => "Final amount to charge: 96"
1887
1944
  * ```
1888
1945
  *
1946
+ * @stability stable
1889
1947
  * @category constructors
1890
1948
  * @since 2.0.0
1891
1949
  */
@@ -1939,6 +1997,7 @@ export declare const gen: {
1939
1997
  * await Effect.runPromise(program) // => "Final amount to charge: 96"
1940
1998
  * ```
1941
1999
  *
2000
+ * @stability stable
1942
2001
  * @category constructors
1943
2002
  * @since 2.0.0
1944
2003
  */
@@ -1996,6 +2055,7 @@ export declare const gen: {
1996
2055
  * await Effect.runPromise(program) // => "Final amount to charge: 96"
1997
2056
  * ```
1998
2057
  *
2058
+ * @stability stable
1999
2059
  * @category constructors
2000
2060
  * @since 2.0.0
2001
2061
  */
@@ -2010,6 +2070,7 @@ export declare const gen: {
2010
2070
  /**
2011
2071
  * Type helpers for `Effect.gen` generator return signatures.
2012
2072
  *
2073
+ * @stability stable
2013
2074
  * @category constructors
2014
2075
  * @since 2.0.0
2015
2076
  */
@@ -2050,6 +2111,7 @@ export declare namespace gen {
2050
2111
  * ```
2051
2112
  *
2052
2113
  * @see {@link succeed} to create an effect that represents a successful value.
2114
+ * @stability stable
2053
2115
  * @category constructors
2054
2116
  * @since 2.0.0
2055
2117
  */
@@ -2077,6 +2139,7 @@ export declare const fail: <E>(error: E) => Effect<never, E>;
2077
2139
  * Effect.runSync(Effect.flip(program)).operation // => "sync"
2078
2140
  * ```
2079
2141
  *
2142
+ * @stability stable
2080
2143
  * @category constructors
2081
2144
  * @since 2.0.0
2082
2145
  */
@@ -2107,6 +2170,7 @@ export declare const failSync: <E>(evaluate: LazyArg<E>) => Effect<never, E>;
2107
2170
  * Effect.runSync(Effect.flip(program)) // => "Network error"
2108
2171
  * ```
2109
2172
  *
2173
+ * @stability stable
2110
2174
  * @category constructors
2111
2175
  * @since 2.0.0
2112
2176
  */
@@ -2134,6 +2198,7 @@ export declare const failCause: <E>(cause: Cause.Cause<E>) => Effect<never, E>;
2134
2198
  * Effect.runSync(Effect.flip(program)) // => "Error computed at runtime"
2135
2199
  * ```
2136
2200
  *
2201
+ * @stability stable
2137
2202
  * @category constructors
2138
2203
  * @since 2.0.0
2139
2204
  */
@@ -2173,6 +2238,7 @@ export declare const failCauseSync: <E>(evaluate: LazyArg<Cause.Cause<E>>) => Ef
2173
2238
  * Effect.runSyncExit(program) // => Exit.die(defect)
2174
2239
  * ```
2175
2240
  *
2241
+ * @stability stable
2176
2242
  * @category constructors
2177
2243
  * @since 2.0.0
2178
2244
  */
@@ -2245,6 +2311,7 @@ export {
2245
2311
  *
2246
2312
  * @see {@link sync} if the effectful computation is synchronous and does not
2247
2313
  * throw errors.
2314
+ * @stability stable
2248
2315
  * @category constructors
2249
2316
  * @since 2.0.0
2250
2317
  */
@@ -2268,6 +2335,7 @@ try_ as try };
2268
2335
  * output // => ["Before yield", "After yield"]
2269
2336
  * ```
2270
2337
  *
2338
+ * @stability stable
2271
2339
  * @category constructors
2272
2340
  * @since 2.0.0
2273
2341
  */
@@ -2291,6 +2359,7 @@ export declare const yieldNow: Effect<void>;
2291
2359
  * output // => ["High priority task", "Continued after yield"]
2292
2360
  * ```
2293
2361
  *
2362
+ * @stability stable
2294
2363
  * @category constructors
2295
2364
  * @since 4.0.0
2296
2365
  */
@@ -2308,6 +2377,7 @@ export declare const yieldNowWith: (priority?: number) => Effect<void>;
2308
2377
  * Effect.runSync(program) // => "number"
2309
2378
  * ```
2310
2379
  *
2380
+ * @stability stable
2311
2381
  * @category constructors
2312
2382
  * @since 4.0.0
2313
2383
  */
@@ -2325,6 +2395,7 @@ export declare const withFiber: <A, E = never, R = never>(evaluate: (fiber: Fibe
2325
2395
  * Effect.runSync(program) // => "number"
2326
2396
  * ```
2327
2397
  *
2398
+ * @stability stable
2328
2399
  * @category constructors
2329
2400
  * @since 4.0.0
2330
2401
  */
@@ -2349,6 +2420,7 @@ export declare const withFiberSucceed: <A, R = never>(evaluate: (fiber: Fiber<un
2349
2420
  * output // => [42, "Something went wrong"]
2350
2421
  * ```
2351
2422
  *
2423
+ * @stability stable
2352
2424
  * @category converting
2353
2425
  * @since 4.0.0
2354
2426
  */
@@ -2387,6 +2459,7 @@ export declare const fromResult: <A, E>(result: Result.Result<A, E>) => Effect<A
2387
2459
  * output // => [42, "NoSuchElementError", "missing"]
2388
2460
  * ```
2389
2461
  *
2462
+ * @stability stable
2390
2463
  * @category converting
2391
2464
  * @since 4.0.0
2392
2465
  */
@@ -2419,6 +2492,7 @@ export declare const fromOption: <Arg extends Option<unknown> | LazyArg<unknown>
2419
2492
  * Effect.runSync(program) // => Option.some(42)
2420
2493
  * ```
2421
2494
  *
2495
+ * @stability stable
2422
2496
  * @category converting
2423
2497
  * @since 3.13.0
2424
2498
  */
@@ -2445,6 +2519,7 @@ export declare const transposeOption: <A = never, E = never, R = never>(self: Op
2445
2519
  * output // => ["missing", "hello"]
2446
2520
  * ```
2447
2521
  *
2522
+ * @stability stable
2448
2523
  * @category converting
2449
2524
  * @since 4.0.0
2450
2525
  */
@@ -2519,6 +2594,7 @@ export declare const fromNullishOr: <A>(value: A) => Effect<NonNullable<A>, Caus
2519
2594
  * ```
2520
2595
  *
2521
2596
  * @see {@link tap} for a version that ignores the result of the effect.
2597
+ * @stability stable
2522
2598
  * @category sequencing
2523
2599
  * @since 2.0.0
2524
2600
  */
@@ -2593,6 +2669,7 @@ export declare const flatMap: {
2593
2669
  * ```
2594
2670
  *
2595
2671
  * @see {@link tap} for a version that ignores the result of the effect.
2672
+ * @stability stable
2596
2673
  * @category sequencing
2597
2674
  * @since 2.0.0
2598
2675
  */
@@ -2667,6 +2744,7 @@ export declare const flatMap: {
2667
2744
  * ```
2668
2745
  *
2669
2746
  * @see {@link tap} for a version that ignores the result of the effect.
2747
+ * @stability stable
2670
2748
  * @category sequencing
2671
2749
  * @since 2.0.0
2672
2750
  */
@@ -2692,6 +2770,7 @@ export declare const flatMap: {
2692
2770
  * output // => ["hello"]
2693
2771
  * ```
2694
2772
  *
2773
+ * @stability stable
2695
2774
  * @category sequencing
2696
2775
  * @since 2.0.0
2697
2776
  */
@@ -2774,6 +2853,7 @@ export declare const flatten: <A, E, R, E2, R2>(self: Effect<Effect<A, E, R>, E2
2774
2853
  * await Effect.runPromise(result2) // => 190
2775
2854
  * ```
2776
2855
  *
2856
+ * @stability stable
2777
2857
  * @category sequencing
2778
2858
  * @since 2.0.0
2779
2859
  */
@@ -2856,6 +2936,7 @@ export declare const andThen: {
2856
2936
  * await Effect.runPromise(result2) // => 190
2857
2937
  * ```
2858
2938
  *
2939
+ * @stability stable
2859
2940
  * @category sequencing
2860
2941
  * @since 2.0.0
2861
2942
  */
@@ -2938,6 +3019,7 @@ export declare const andThen: {
2938
3019
  * await Effect.runPromise(result2) // => 190
2939
3020
  * ```
2940
3021
  *
3022
+ * @stability stable
2941
3023
  * @category sequencing
2942
3024
  * @since 2.0.0
2943
3025
  */
@@ -3020,6 +3102,7 @@ export declare const andThen: {
3020
3102
  * await Effect.runPromise(result2) // => 190
3021
3103
  * ```
3022
3104
  *
3105
+ * @stability stable
3023
3106
  * @category sequencing
3024
3107
  * @since 2.0.0
3025
3108
  */
@@ -3102,6 +3185,7 @@ export declare const andThen: {
3102
3185
  * await Effect.runPromise(result2) // => 190
3103
3186
  * ```
3104
3187
  *
3188
+ * @stability stable
3105
3189
  * @category sequencing
3106
3190
  * @since 2.0.0
3107
3191
  */
@@ -3155,6 +3239,7 @@ export declare const andThen: {
3155
3239
  * output // => ["Apply a discount to: 100", 95]
3156
3240
  * ```
3157
3241
  *
3242
+ * @stability stable
3158
3243
  * @category sequencing
3159
3244
  * @since 2.0.0
3160
3245
  */
@@ -3207,6 +3292,7 @@ export declare const tap: {
3207
3292
  * output // => ["Apply a discount to: 100", 95]
3208
3293
  * ```
3209
3294
  *
3295
+ * @stability stable
3210
3296
  * @category sequencing
3211
3297
  * @since 2.0.0
3212
3298
  */
@@ -3259,6 +3345,7 @@ export declare const tap: {
3259
3345
  * output // => ["Apply a discount to: 100", 95]
3260
3346
  * ```
3261
3347
  *
3348
+ * @stability stable
3262
3349
  * @category sequencing
3263
3350
  * @since 2.0.0
3264
3351
  */
@@ -3311,6 +3398,7 @@ export declare const tap: {
3311
3398
  * output // => ["Apply a discount to: 100", 95]
3312
3399
  * ```
3313
3400
  *
3401
+ * @stability stable
3314
3402
  * @category sequencing
3315
3403
  * @since 2.0.0
3316
3404
  */
@@ -3363,6 +3451,7 @@ export declare const tap: {
3363
3451
  * output // => ["Apply a discount to: 100", 95]
3364
3452
  * ```
3365
3453
  *
3454
+ * @stability stable
3366
3455
  * @category sequencing
3367
3456
  * @since 2.0.0
3368
3457
  */
@@ -3416,6 +3505,7 @@ export declare const tap: {
3416
3505
  * @see {@link option} for a version that uses `Option` instead.
3417
3506
  * @see {@link exit} for a version that encapsulates both recoverable errors and defects in an `Exit`.
3418
3507
  *
3508
+ * @stability stable
3419
3509
  * @category error handling
3420
3510
  * @since 4.0.0
3421
3511
  */
@@ -3458,6 +3548,7 @@ export declare const result: <A, E, R>(self: Effect<A, E, R>) => Effect<Result.R
3458
3548
  * @see {@link result} for a version that uses `Result` instead.
3459
3549
  * @see {@link exit} for a version that encapsulates both recoverable errors and defects in an `Exit`.
3460
3550
  *
3551
+ * @stability stable
3461
3552
  * @category error handling
3462
3553
  * @since 2.0.0
3463
3554
  */
@@ -3499,6 +3590,7 @@ export declare const option: <A, E, R>(self: Effect<A, E, R>) => Effect<Option<A
3499
3590
  * @see {@link option} for a version that uses `Option` instead.
3500
3591
  * @see {@link result} for a version that uses `Result` instead.
3501
3592
  *
3593
+ * @stability stable
3502
3594
  * @category error handling
3503
3595
  * @since 2.0.0
3504
3596
  */
@@ -3562,6 +3654,7 @@ export declare const exit: <A, E, R>(self: Effect<A, E, R>) => Effect<Exit.Exit<
3562
3654
  * @see {@link mapError} for a version that operates on the error channel.
3563
3655
  * @see {@link mapBoth} for a version that operates on both channels.
3564
3656
  * @see {@link flatMap} or {@link andThen} for a version that can return a new effect.
3657
+ * @stability stable
3565
3658
  * @category mapping
3566
3659
  * @since 2.0.0
3567
3660
  */
@@ -3625,6 +3718,7 @@ export declare const map: {
3625
3718
  * @see {@link mapError} for a version that operates on the error channel.
3626
3719
  * @see {@link mapBoth} for a version that operates on both channels.
3627
3720
  * @see {@link flatMap} or {@link andThen} for a version that can return a new effect.
3721
+ * @stability stable
3628
3722
  * @category mapping
3629
3723
  * @since 2.0.0
3630
3724
  */
@@ -3688,6 +3782,7 @@ export declare const map: {
3688
3782
  * @see {@link mapError} for a version that operates on the error channel.
3689
3783
  * @see {@link mapBoth} for a version that operates on both channels.
3690
3784
  * @see {@link flatMap} or {@link andThen} for a version that can return a new effect.
3785
+ * @stability stable
3691
3786
  * @category mapping
3692
3787
  * @since 2.0.0
3693
3788
  */
@@ -3720,6 +3815,7 @@ export declare const map: {
3720
3815
  * @see {@link map} for deriving the replacement value from the success value
3721
3816
  * @see {@link asVoid} for replacing the success value with `void`
3722
3817
  *
3818
+ * @stability stable
3723
3819
  * @category mapping
3724
3820
  * @since 2.0.0
3725
3821
  */
@@ -3751,6 +3847,7 @@ export declare const as: {
3751
3847
  * @see {@link map} for deriving the replacement value from the success value
3752
3848
  * @see {@link asVoid} for replacing the success value with `void`
3753
3849
  *
3850
+ * @stability stable
3754
3851
  * @category mapping
3755
3852
  * @since 2.0.0
3756
3853
  */
@@ -3782,6 +3879,7 @@ export declare const as: {
3782
3879
  * @see {@link map} for deriving the replacement value from the success value
3783
3880
  * @see {@link asVoid} for replacing the success value with `void`
3784
3881
  *
3882
+ * @stability stable
3785
3883
  * @category mapping
3786
3884
  * @since 2.0.0
3787
3885
  */
@@ -3800,6 +3898,7 @@ export declare const as: {
3800
3898
  * Effect.runSync(program) // => Option.some(42)
3801
3899
  * ```
3802
3900
  *
3901
+ * @stability stable
3803
3902
  * @category mapping
3804
3903
  * @since 2.0.0
3805
3904
  */
@@ -3817,6 +3916,7 @@ export declare const asSome: <A, E, R>(self: Effect<A, E, R>) => Effect<Option<A
3817
3916
  * Effect.runSync(program) // => undefined
3818
3917
  * ```
3819
3918
  *
3919
+ * @stability stable
3820
3920
  * @category mapping
3821
3921
  * @since 2.0.0
3822
3922
  */
@@ -3847,6 +3947,7 @@ export declare const asVoid: <A, E, R>(self: Effect<A, E, R>) => Effect<void, E,
3847
3947
  * Effect.runSync(flipped) // => "Oh uh!"
3848
3948
  * ```
3849
3949
  *
3950
+ * @stability stable
3850
3951
  * @category mapping
3851
3952
  * @since 2.0.0
3852
3953
  */
@@ -3902,6 +4003,7 @@ export declare const flip: <A, E, R>(self: Effect<A, E, R>) => Effect<E, A, R>;
3902
4003
  * @see {@link zipWith} for a version that combines the results with a custom function.
3903
4004
  * @see {@link all} for collecting a larger structure of effects.
3904
4005
  *
4006
+ * @stability stable
3905
4007
  * @category zipping
3906
4008
  * @since 2.0.0
3907
4009
  */
@@ -3957,6 +4059,7 @@ export declare const zip: {
3957
4059
  * @see {@link zipWith} for a version that combines the results with a custom function.
3958
4060
  * @see {@link all} for collecting a larger structure of effects.
3959
4061
  *
4062
+ * @stability stable
3960
4063
  * @category zipping
3961
4064
  * @since 2.0.0
3962
4065
  */
@@ -4014,6 +4117,7 @@ export declare const zip: {
4014
4117
  * @see {@link zipWith} for a version that combines the results with a custom function.
4015
4118
  * @see {@link all} for collecting a larger structure of effects.
4016
4119
  *
4120
+ * @stability stable
4017
4121
  * @category zipping
4018
4122
  * @since 2.0.0
4019
4123
  */
@@ -4055,6 +4159,7 @@ export declare const zip: {
4055
4159
  * Effect.runSync(task3) // => 6
4056
4160
  * ```
4057
4161
  *
4162
+ * @stability stable
4058
4163
  * @category zipping
4059
4164
  * @since 2.0.0
4060
4165
  */
@@ -4093,6 +4198,7 @@ export declare const zipWith: {
4093
4198
  * Effect.runSync(task3) // => 6
4094
4199
  * ```
4095
4200
  *
4201
+ * @stability stable
4096
4202
  * @category zipping
4097
4203
  * @since 2.0.0
4098
4204
  */
@@ -4133,6 +4239,7 @@ export declare const zipWith: {
4133
4239
  * Effect.runSync(task3) // => 6
4134
4240
  * ```
4135
4241
  *
4242
+ * @stability stable
4136
4243
  * @category zipping
4137
4244
  * @since 2.0.0
4138
4245
  */
@@ -4167,6 +4274,7 @@ export {
4167
4274
  *
4168
4275
  * @see {@link catchCause} for a version that can recover from both recoverable and unrecoverable errors.
4169
4276
  *
4277
+ * @stability stable
4170
4278
  * @category error handling
4171
4279
  * @since 4.0.0
4172
4280
  */
@@ -4215,6 +4323,7 @@ catch_ as catch };
4215
4323
  * @see {@link catchTags} for handling multiple tagged errors in one call
4216
4324
  * @see {@link catchIf} for recovering from errors that match a predicate
4217
4325
  *
4326
+ * @stability stable
4218
4327
  * @category error handling
4219
4328
  * @since 2.0.0
4220
4329
  */
@@ -4263,6 +4372,7 @@ export declare const catchTag: {
4263
4372
  * @see {@link catchTags} for handling multiple tagged errors in one call
4264
4373
  * @see {@link catchIf} for recovering from errors that match a predicate
4265
4374
  *
4375
+ * @stability stable
4266
4376
  * @category error handling
4267
4377
  * @since 2.0.0
4268
4378
  */
@@ -4311,6 +4421,7 @@ export declare const catchTag: {
4311
4421
  * @see {@link catchTags} for handling multiple tagged errors in one call
4312
4422
  * @see {@link catchIf} for recovering from errors that match a predicate
4313
4423
  *
4424
+ * @stability stable
4314
4425
  * @category error handling
4315
4426
  * @since 2.0.0
4316
4427
  */
@@ -4360,6 +4471,7 @@ export declare const catchTag: {
4360
4471
  * Effect.runSync(handled) // => "Network error: 503"
4361
4472
  * ```
4362
4473
  *
4474
+ * @stability stable
4363
4475
  * @category error handling
4364
4476
  * @since 2.0.0
4365
4477
  */
@@ -4408,6 +4520,7 @@ export declare const catchTags: {
4408
4520
  * Effect.runSync(handled) // => "Network error: 503"
4409
4521
  * ```
4410
4522
  *
4523
+ * @stability stable
4411
4524
  * @category error handling
4412
4525
  * @since 2.0.0
4413
4526
  */
@@ -4476,6 +4589,7 @@ export declare const catchTags: {
4476
4589
  * Effect.runSync(handled) // => "Network error: 503"
4477
4590
  * ```
4478
4591
  *
4592
+ * @stability stable
4479
4593
  * @category error handling
4480
4594
  * @since 2.0.0
4481
4595
  */
@@ -4547,6 +4661,7 @@ export declare const catchTags: {
4547
4661
  *
4548
4662
  * @see {@link catchReasons} for handling several nested reason tags
4549
4663
  *
4664
+ * @stability stable
4550
4665
  * @category error handling
4551
4666
  * @since 4.0.0
4552
4667
  */
@@ -4597,6 +4712,7 @@ export declare const catchReason: {
4597
4712
  *
4598
4713
  * @see {@link catchReasons} for handling several nested reason tags
4599
4714
  *
4715
+ * @stability stable
4600
4716
  * @category error handling
4601
4717
  * @since 4.0.0
4602
4718
  */
@@ -4647,6 +4763,7 @@ export declare const catchReason: {
4647
4763
  *
4648
4764
  * @see {@link catchReasons} for handling several nested reason tags
4649
4765
  *
4766
+ * @stability stable
4650
4767
  * @category error handling
4651
4768
  * @since 4.0.0
4652
4769
  */
@@ -4688,6 +4805,7 @@ export declare const catchReason: {
4688
4805
  * Effect.runSync(handled) // => "Quota exceeded: 100"
4689
4806
  * ```
4690
4807
  *
4808
+ * @stability stable
4691
4809
  * @category error handling
4692
4810
  * @since 4.0.0
4693
4811
  */
@@ -4728,6 +4846,7 @@ export declare const catchReasons: {
4728
4846
  * Effect.runSync(handled) // => "Quota exceeded: 100"
4729
4847
  * ```
4730
4848
  *
4849
+ * @stability stable
4731
4850
  * @category error handling
4732
4851
  * @since 4.0.0
4733
4852
  */
@@ -4776,6 +4895,7 @@ export declare const catchReasons: {
4776
4895
  * Effect.runSync(handled) // => "Quota exceeded: 100"
4777
4896
  * ```
4778
4897
  *
4898
+ * @stability stable
4779
4899
  * @category error handling
4780
4900
  * @since 4.0.0
4781
4901
  */
@@ -4806,6 +4926,7 @@ export declare const catchReasons: {
4806
4926
  * @see {@link catchReason} for handling one nested reason tag
4807
4927
  * @see {@link catchReasons} for handling several nested reason tags
4808
4928
  *
4929
+ * @stability stable
4809
4930
  * @category error handling
4810
4931
  * @since 4.0.0
4811
4932
  */
@@ -4843,6 +4964,7 @@ export type TagsWithReason<E> = {
4843
4964
  * Effect.runSync(Effect.flip(unwrapped))._tag // => "RateLimitError"
4844
4965
  * ```
4845
4966
  *
4967
+ * @stability stable
4846
4968
  * @category error handling
4847
4969
  * @since 4.0.0
4848
4970
  */
@@ -4878,6 +5000,7 @@ export declare const unwrapReason: {
4878
5000
  * Effect.runSync(Effect.flip(unwrapped))._tag // => "RateLimitError"
4879
5001
  * ```
4880
5002
  *
5003
+ * @stability stable
4881
5004
  * @category error handling
4882
5005
  * @since 4.0.0
4883
5006
  */
@@ -4913,6 +5036,7 @@ export declare const unwrapReason: {
4913
5036
  * Effect.runSync(Effect.flip(unwrapped))._tag // => "RateLimitError"
4914
5037
  * ```
4915
5038
  *
5039
+ * @stability stable
4916
5040
  * @category error handling
4917
5041
  * @since 4.0.0
4918
5042
  */
@@ -4959,6 +5083,7 @@ export declare const unwrapReason: {
4959
5083
  * output // => ["Caught defect", "Recovered from defect"]
4960
5084
  * ```
4961
5085
  *
5086
+ * @stability stable
4962
5087
  * @category error handling
4963
5088
  * @since 4.0.0
4964
5089
  */
@@ -5004,6 +5129,7 @@ export declare const catchCause: {
5004
5129
  * output // => ["Caught defect", "Recovered from defect"]
5005
5130
  * ```
5006
5131
  *
5132
+ * @stability stable
5007
5133
  * @category error handling
5008
5134
  * @since 4.0.0
5009
5135
  */
@@ -5049,6 +5175,7 @@ export declare const catchCause: {
5049
5175
  * output // => ["Caught defect", "Recovered from defect"]
5050
5176
  * ```
5051
5177
  *
5178
+ * @stability stable
5052
5179
  * @category error handling
5053
5180
  * @since 4.0.0
5054
5181
  */
@@ -5094,6 +5221,7 @@ export declare const catchCause: {
5094
5221
  * output // => ["Caught defect: Unexpected error", "Recovered from defect"]
5095
5222
  * ```
5096
5223
  *
5224
+ * @stability stable
5097
5225
  * @category error handling
5098
5226
  * @since 4.0.0
5099
5227
  */
@@ -5138,6 +5266,7 @@ export declare const catchDefect: {
5138
5266
  * output // => ["Caught defect: Unexpected error", "Recovered from defect"]
5139
5267
  * ```
5140
5268
  *
5269
+ * @stability stable
5141
5270
  * @category error handling
5142
5271
  * @since 4.0.0
5143
5272
  */
@@ -5182,6 +5311,7 @@ export declare const catchDefect: {
5182
5311
  * output // => ["Caught defect: Unexpected error", "Recovered from defect"]
5183
5312
  * ```
5184
5313
  *
5314
+ * @stability stable
5185
5315
  * @category error handling
5186
5316
  * @since 4.0.0
5187
5317
  */
@@ -5228,6 +5358,7 @@ export declare const catchDefect: {
5228
5358
  * Effect.runSync(Effect.all([recovered, recovered2])) // => ['missing:user-1', 'missing:user-1']
5229
5359
  * ```
5230
5360
  *
5361
+ * @stability stable
5231
5362
  * @category error handling
5232
5363
  * @since 2.0.0
5233
5364
  */
@@ -5273,6 +5404,7 @@ export declare const catchIf: {
5273
5404
  * Effect.runSync(Effect.all([recovered, recovered2])) // => ['missing:user-1', 'missing:user-1']
5274
5405
  * ```
5275
5406
  *
5407
+ * @stability stable
5276
5408
  * @category error handling
5277
5409
  * @since 2.0.0
5278
5410
  */
@@ -5318,6 +5450,7 @@ export declare const catchIf: {
5318
5450
  * Effect.runSync(Effect.all([recovered, recovered2])) // => ['missing:user-1', 'missing:user-1']
5319
5451
  * ```
5320
5452
  *
5453
+ * @stability stable
5321
5454
  * @category error handling
5322
5455
  * @since 2.0.0
5323
5456
  */
@@ -5363,6 +5496,7 @@ export declare const catchIf: {
5363
5496
  * Effect.runSync(Effect.all([recovered, recovered2])) // => ['missing:user-1', 'missing:user-1']
5364
5497
  * ```
5365
5498
  *
5499
+ * @stability stable
5366
5500
  * @category error handling
5367
5501
  * @since 2.0.0
5368
5502
  */
@@ -5408,6 +5542,7 @@ export declare const catchIf: {
5408
5542
  * Effect.runSync(Effect.all([recovered, recovered2])) // => ['missing:user-1', 'missing:user-1']
5409
5543
  * ```
5410
5544
  *
5545
+ * @stability stable
5411
5546
  * @category error handling
5412
5547
  * @since 2.0.0
5413
5548
  */
@@ -5434,6 +5569,7 @@ export declare const catchIf: {
5434
5569
  * @see {@link catchTags} for recovering from several tagged errors
5435
5570
  * @see {@link catchCauseFilter} for filtering full causes instead of typed errors
5436
5571
  *
5572
+ * @stability stable
5437
5573
  * @category error handling
5438
5574
  * @since 4.0.0
5439
5575
  */
@@ -5459,6 +5595,7 @@ export declare const catchFilter: {
5459
5595
  * @see {@link catchTags} for recovering from several tagged errors
5460
5596
  * @see {@link catchCauseFilter} for filtering full causes instead of typed errors
5461
5597
  *
5598
+ * @stability stable
5462
5599
  * @category error handling
5463
5600
  * @since 4.0.0
5464
5601
  */
@@ -5484,6 +5621,7 @@ export declare const catchFilter: {
5484
5621
  * @see {@link catchTags} for recovering from several tagged errors
5485
5622
  * @see {@link catchCauseFilter} for filtering full causes instead of typed errors
5486
5623
  *
5624
+ * @stability stable
5487
5625
  * @category error handling
5488
5626
  * @since 4.0.0
5489
5627
  */
@@ -5520,6 +5658,7 @@ export declare const catchFilter: {
5520
5658
  * @see {@link fromNullishOr} for converting nullish values into `NoSuchElementError`
5521
5659
  * @see {@link option} for converting any failure into `Option.none`
5522
5660
  *
5661
+ * @stability stable
5523
5662
  * @category error handling
5524
5663
  * @since 4.0.0
5525
5664
  */
@@ -5564,6 +5703,7 @@ export declare const catchNoSuchElement: <A, E, R>(self: Effect<A, E, R>) => Eff
5564
5703
  * @see {@link catchCauseFilter} for selecting full causes with a `Filter`
5565
5704
  * @see {@link catchIf} for predicate-based recovery from typed errors
5566
5705
  *
5706
+ * @stability stable
5567
5707
  * @category error handling
5568
5708
  * @since 4.0.0
5569
5709
  */
@@ -5608,6 +5748,7 @@ export declare const catchCauseIf: {
5608
5748
  * @see {@link catchCauseFilter} for selecting full causes with a `Filter`
5609
5749
  * @see {@link catchIf} for predicate-based recovery from typed errors
5610
5750
  *
5751
+ * @stability stable
5611
5752
  * @category error handling
5612
5753
  * @since 4.0.0
5613
5754
  */
@@ -5652,6 +5793,7 @@ export declare const catchCauseIf: {
5652
5793
  * @see {@link catchCauseFilter} for selecting full causes with a `Filter`
5653
5794
  * @see {@link catchIf} for predicate-based recovery from typed errors
5654
5795
  *
5796
+ * @stability stable
5655
5797
  * @category error handling
5656
5798
  * @since 4.0.0
5657
5799
  */
@@ -5676,6 +5818,7 @@ export declare const catchCauseIf: {
5676
5818
  * @see {@link catchFilter} for filtering typed error values instead of full causes
5677
5819
  * @see {@link catchCause} for recovering from every cause without filtering
5678
5820
  *
5821
+ * @stability stable
5679
5822
  * @category error handling
5680
5823
  * @since 4.0.0
5681
5824
  */
@@ -5699,6 +5842,7 @@ export declare const catchCauseFilter: {
5699
5842
  * @see {@link catchFilter} for filtering typed error values instead of full causes
5700
5843
  * @see {@link catchCause} for recovering from every cause without filtering
5701
5844
  *
5845
+ * @stability stable
5702
5846
  * @category error handling
5703
5847
  * @since 4.0.0
5704
5848
  */
@@ -5722,6 +5866,7 @@ export declare const catchCauseFilter: {
5722
5866
  * @see {@link catchFilter} for filtering typed error values instead of full causes
5723
5867
  * @see {@link catchCause} for recovering from every cause without filtering
5724
5868
  *
5869
+ * @stability stable
5725
5870
  * @category error handling
5726
5871
  * @since 4.0.0
5727
5872
  */
@@ -5763,6 +5908,7 @@ export declare const catchCauseFilter: {
5763
5908
  * @see {@link map} for a version that operates on the success channel.
5764
5909
  * @see {@link mapBoth} for a version that operates on both channels.
5765
5910
  *
5911
+ * @stability stable
5766
5912
  * @category error handling
5767
5913
  * @since 2.0.0
5768
5914
  */
@@ -5803,6 +5949,7 @@ export declare const mapError: {
5803
5949
  * @see {@link map} for a version that operates on the success channel.
5804
5950
  * @see {@link mapBoth} for a version that operates on both channels.
5805
5951
  *
5952
+ * @stability stable
5806
5953
  * @category error handling
5807
5954
  * @since 2.0.0
5808
5955
  */
@@ -5843,6 +5990,7 @@ export declare const mapError: {
5843
5990
  * @see {@link map} for a version that operates on the success channel.
5844
5991
  * @see {@link mapBoth} for a version that operates on both channels.
5845
5992
  *
5993
+ * @stability stable
5846
5994
  * @category error handling
5847
5995
  * @since 2.0.0
5848
5996
  */
@@ -5886,6 +6034,7 @@ export declare const mapError: {
5886
6034
  * @see {@link map} for a version that operates on the success channel.
5887
6035
  * @see {@link mapError} for a version that operates on the error channel.
5888
6036
  *
6037
+ * @stability stable
5889
6038
  * @category mapping
5890
6039
  * @since 2.0.0
5891
6040
  */
@@ -5928,6 +6077,7 @@ export declare const mapBoth: {
5928
6077
  * @see {@link map} for a version that operates on the success channel.
5929
6078
  * @see {@link mapError} for a version that operates on the error channel.
5930
6079
  *
6080
+ * @stability stable
5931
6081
  * @category mapping
5932
6082
  * @since 2.0.0
5933
6083
  */
@@ -5973,6 +6123,7 @@ export declare const mapBoth: {
5973
6123
  * @see {@link map} for a version that operates on the success channel.
5974
6124
  * @see {@link mapError} for a version that operates on the error channel.
5975
6125
  *
6126
+ * @stability stable
5976
6127
  * @category mapping
5977
6128
  * @since 2.0.0
5978
6129
  */
@@ -6009,6 +6160,7 @@ export declare const mapBoth: {
6009
6160
  * Effect.runSyncExit(program) // => Exit.die(new DivideByZeroError())
6010
6161
  * ```
6011
6162
  *
6163
+ * @stability stable
6012
6164
  * @category error handling
6013
6165
  * @since 2.0.0
6014
6166
  */
@@ -6042,6 +6194,7 @@ export declare const orDie: <A, E, R>(self: Effect<A, E, R>) => Effect<A, never,
6042
6194
  * output // => ["expected error: NetworkError", Exit.fail("NetworkError")]
6043
6195
  * ```
6044
6196
  *
6197
+ * @stability stable
6045
6198
  * @category error handling
6046
6199
  * @since 2.0.0
6047
6200
  */
@@ -6075,6 +6228,7 @@ export declare const tapError: {
6075
6228
  * output // => ["expected error: NetworkError", Exit.fail("NetworkError")]
6076
6229
  * ```
6077
6230
  *
6231
+ * @stability stable
6078
6232
  * @category error handling
6079
6233
  * @since 2.0.0
6080
6234
  */
@@ -6108,6 +6262,7 @@ export declare const tapError: {
6108
6262
  * output // => ["expected error: NetworkError", Exit.fail("NetworkError")]
6109
6263
  * ```
6110
6264
  *
6265
+ * @stability stable
6111
6266
  * @category error handling
6112
6267
  * @since 2.0.0
6113
6268
  */
@@ -6147,6 +6302,7 @@ export declare const tapError: {
6147
6302
  * output // => ["expected error: 504", Exit.fail(new NetworkError({ statusCode: 504 }))]
6148
6303
  * ```
6149
6304
  *
6305
+ * @stability stable
6150
6306
  * @category error handling
6151
6307
  * @since 2.0.0
6152
6308
  */
@@ -6185,6 +6341,7 @@ export declare const tapErrorTag: {
6185
6341
  * output // => ["expected error: 504", Exit.fail(new NetworkError({ statusCode: 504 }))]
6186
6342
  * ```
6187
6343
  *
6344
+ * @stability stable
6188
6345
  * @category error handling
6189
6346
  * @since 2.0.0
6190
6347
  */
@@ -6223,6 +6380,7 @@ export declare const tapErrorTag: {
6223
6380
  * output // => ["expected error: 504", Exit.fail(new NetworkError({ statusCode: 504 }))]
6224
6381
  * ```
6225
6382
  *
6383
+ * @stability stable
6226
6384
  * @category error handling
6227
6385
  * @since 2.0.0
6228
6386
  */
@@ -6260,6 +6418,7 @@ export declare const tapErrorTag: {
6260
6418
  * output // => ["Logging cause: Something went wrong", Exit.fail("Something went wrong")]
6261
6419
  * ```
6262
6420
  *
6421
+ * @stability stable
6263
6422
  * @category error handling
6264
6423
  * @since 4.0.0
6265
6424
  */
@@ -6296,6 +6455,7 @@ export declare const tapCause: {
6296
6455
  * output // => ["Logging cause: Something went wrong", Exit.fail("Something went wrong")]
6297
6456
  * ```
6298
6457
  *
6458
+ * @stability stable
6299
6459
  * @category error handling
6300
6460
  * @since 4.0.0
6301
6461
  */
@@ -6332,6 +6492,7 @@ export declare const tapCause: {
6332
6492
  * output // => ["Logging cause: Something went wrong", Exit.fail("Something went wrong")]
6333
6493
  * ```
6334
6494
  *
6495
+ * @stability stable
6335
6496
  * @category error handling
6336
6497
  * @since 4.0.0
6337
6498
  */
@@ -6365,6 +6526,7 @@ export declare const tapCause: {
6365
6526
  * output // => ["Logging failure cause: Network timeout", Exit.fail("Network timeout")]
6366
6527
  * ```
6367
6528
  *
6529
+ * @stability stable
6368
6530
  * @category error handling
6369
6531
  * @since 4.0.0
6370
6532
  */
@@ -6397,6 +6559,7 @@ export declare const tapCauseIf: {
6397
6559
  * output // => ["Logging failure cause: Network timeout", Exit.fail("Network timeout")]
6398
6560
  * ```
6399
6561
  *
6562
+ * @stability stable
6400
6563
  * @category error handling
6401
6564
  * @since 4.0.0
6402
6565
  */
@@ -6429,6 +6592,7 @@ export declare const tapCauseIf: {
6429
6592
  * output // => ["Logging failure cause: Network timeout", Exit.fail("Network timeout")]
6430
6593
  * ```
6431
6594
  *
6595
+ * @stability stable
6432
6596
  * @category error handling
6433
6597
  * @since 4.0.0
6434
6598
  */
@@ -6453,6 +6617,7 @@ export declare const tapCauseIf: {
6453
6617
  * @see {@link tapCause} for observing every failure cause
6454
6618
  * @see {@link catchCauseFilter} for recovering from selected causes instead of only observing them
6455
6619
  *
6620
+ * @stability stable
6456
6621
  * @category error handling
6457
6622
  * @since 4.0.0
6458
6623
  */
@@ -6476,6 +6641,7 @@ export declare const tapCauseFilter: {
6476
6641
  * @see {@link tapCause} for observing every failure cause
6477
6642
  * @see {@link catchCauseFilter} for recovering from selected causes instead of only observing them
6478
6643
  *
6644
+ * @stability stable
6479
6645
  * @category error handling
6480
6646
  * @since 4.0.0
6481
6647
  */
@@ -6499,6 +6665,7 @@ export declare const tapCauseFilter: {
6499
6665
  * @see {@link tapCause} for observing every failure cause
6500
6666
  * @see {@link catchCauseFilter} for recovering from selected causes instead of only observing them
6501
6667
  *
6668
+ * @stability stable
6502
6669
  * @category error handling
6503
6670
  * @since 4.0.0
6504
6671
  */
@@ -6535,6 +6702,7 @@ export declare const tapCauseFilter: {
6535
6702
  * output // => ["defect: Something went wrong", Exit.die("Something went wrong")]
6536
6703
  * ```
6537
6704
  *
6705
+ * @stability stable
6538
6706
  * @category error handling
6539
6707
  * @since 2.0.0
6540
6708
  */
@@ -6570,6 +6738,7 @@ export declare const tapDefect: {
6570
6738
  * output // => ["defect: Something went wrong", Exit.die("Something went wrong")]
6571
6739
  * ```
6572
6740
  *
6741
+ * @stability stable
6573
6742
  * @category error handling
6574
6743
  * @since 2.0.0
6575
6744
  */
@@ -6605,6 +6774,7 @@ export declare const tapDefect: {
6605
6774
  * output // => ["defect: Something went wrong", Exit.die("Something went wrong")]
6606
6775
  * ```
6607
6776
  *
6777
+ * @stability stable
6608
6778
  * @category error handling
6609
6779
  * @since 2.0.0
6610
6780
  */
@@ -6640,6 +6810,7 @@ export declare const tapDefect: {
6640
6810
  * output // => ["Attempt 1", "Attempt 2", "Attempt 3", "Ready"]
6641
6811
  * ```
6642
6812
  *
6813
+ * @stability stable
6643
6814
  * @category repetition
6644
6815
  * @since 2.0.0
6645
6816
  */
@@ -6647,6 +6818,7 @@ export declare const eventually: <A, E, R>(self: Effect<A, E, R>) => Effect<A, n
6647
6818
  /**
6648
6819
  * Type helpers for retrying effects.
6649
6820
  *
6821
+ * @stability stable
6650
6822
  * @category error handling
6651
6823
  * @since 2.0.0
6652
6824
  */
@@ -6739,6 +6911,7 @@ export declare namespace Retry {
6739
6911
  *
6740
6912
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
6741
6913
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
6914
+ * @stability stable
6742
6915
  * @category error handling
6743
6916
  * @since 2.0.0
6744
6917
  */
@@ -6791,6 +6964,7 @@ export declare const retry: {
6791
6964
  *
6792
6965
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
6793
6966
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
6967
+ * @stability stable
6794
6968
  * @category error handling
6795
6969
  * @since 2.0.0
6796
6970
  */
@@ -6843,6 +7017,7 @@ export declare const retry: {
6843
7017
  *
6844
7018
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
6845
7019
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
7020
+ * @stability stable
6846
7021
  * @category error handling
6847
7022
  * @since 2.0.0
6848
7023
  */
@@ -6895,6 +7070,7 @@ export declare const retry: {
6895
7070
  *
6896
7071
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
6897
7072
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
7073
+ * @stability stable
6898
7074
  * @category error handling
6899
7075
  * @since 2.0.0
6900
7076
  */
@@ -6947,6 +7123,7 @@ export declare const retry: {
6947
7123
  *
6948
7124
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
6949
7125
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
7126
+ * @stability stable
6950
7127
  * @category error handling
6951
7128
  * @since 2.0.0
6952
7129
  */
@@ -6999,6 +7176,7 @@ export declare const retry: {
6999
7176
  *
7000
7177
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
7001
7178
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
7179
+ * @stability stable
7002
7180
  * @category error handling
7003
7181
  * @since 2.0.0
7004
7182
  */
@@ -7051,6 +7229,7 @@ export declare const retry: {
7051
7229
  *
7052
7230
  * @see {@link retryOrElse} for a version that allows you to run a fallback.
7053
7231
  * @see {@link repeat} if your retry condition is based on successful outcomes rather than errors.
7232
+ * @stability stable
7054
7233
  * @category error handling
7055
7234
  * @since 2.0.0
7056
7235
  */
@@ -7106,6 +7285,7 @@ export declare const retry: {
7106
7285
  * ```
7107
7286
  *
7108
7287
  * @see {@link retry} for a version that does not run a fallback effect.
7288
+ * @stability stable
7109
7289
  * @category error handling
7110
7290
  * @since 2.0.0
7111
7291
  */
@@ -7160,6 +7340,7 @@ export declare const retryOrElse: {
7160
7340
  * ```
7161
7341
  *
7162
7342
  * @see {@link retry} for a version that does not run a fallback effect.
7343
+ * @stability stable
7163
7344
  * @category error handling
7164
7345
  * @since 2.0.0
7165
7346
  */
@@ -7214,6 +7395,7 @@ export declare const retryOrElse: {
7214
7395
  * ```
7215
7396
  *
7216
7397
  * @see {@link retry} for a version that does not run a fallback effect.
7398
+ * @stability stable
7217
7399
  * @category error handling
7218
7400
  * @since 2.0.0
7219
7401
  */
@@ -7244,6 +7426,7 @@ export declare const retryOrElse: {
7244
7426
  * Effect.runSync(program) // => "Caught cause: Something went wrong"
7245
7427
  * ```
7246
7428
  *
7429
+ * @stability stable
7247
7430
  * @category error handling
7248
7431
  * @since 2.0.0
7249
7432
  */
@@ -7287,6 +7470,7 @@ export declare const sandbox: <A, E, R>(self: Effect<A, E, R>) => Effect<A, Caus
7287
7470
  * Effect.runSync(program) // => undefined
7288
7471
  * ```
7289
7472
  *
7473
+ * @stability stable
7290
7474
  * @category error handling
7291
7475
  * @since 2.0.0
7292
7476
  */
@@ -7324,6 +7508,7 @@ export declare const ignore: <Arg extends Effect<any, any, any> | {
7324
7508
  * Effect.runSync(program) // => undefined
7325
7509
  * ```
7326
7510
  *
7511
+ * @stability stable
7327
7512
  * @category error handling
7328
7513
  * @since 4.0.0
7329
7514
  */
@@ -7409,6 +7594,7 @@ export declare const ignoreCause: <Arg extends Effect<any, any, any> | {
7409
7594
  * events // => ["AttemptStart:0", "AttemptFailure:0", "AttemptStart:1", "AttemptSuccess:1"]
7410
7595
  * ```
7411
7596
  *
7597
+ * @stability unstable
7412
7598
  * @category error handling
7413
7599
  * @since 3.16.0
7414
7600
  */
@@ -7485,6 +7671,7 @@ export declare const withExecutionPlan: {
7485
7671
  * events // => ["AttemptStart:0", "AttemptFailure:0", "AttemptStart:1", "AttemptSuccess:1"]
7486
7672
  * ```
7487
7673
  *
7674
+ * @stability unstable
7488
7675
  * @category error handling
7489
7676
  * @since 3.16.0
7490
7677
  */
@@ -7568,6 +7755,7 @@ export declare const withExecutionPlan: {
7568
7755
  * events // => ["AttemptStart:0", "AttemptFailure:0", "AttemptStart:1", "AttemptSuccess:1"]
7569
7756
  * ```
7570
7757
  *
7758
+ * @stability unstable
7571
7759
  * @category error handling
7572
7760
  * @since 3.16.0
7573
7761
  */
@@ -7588,6 +7776,7 @@ export declare const withExecutionPlan: {
7588
7776
  * If the `defectsOnly` option is set to `true`, only defects (unrecoverable
7589
7777
  * errors) will be reported, while regular failures will be ignored.
7590
7778
  *
7779
+ * @stability unstable
7591
7780
  * @category error handling
7592
7781
  * @since 4.0.0
7593
7782
  */
@@ -7630,6 +7819,7 @@ export declare const withErrorReporting: <Arg extends Effect<any, any, any> | {
7630
7819
  * Effect.runSyncExit(program) // => Exit.succeed(0)
7631
7820
  * ```
7632
7821
  *
7822
+ * @stability stable
7633
7823
  * @category error handling
7634
7824
  * @since 2.0.0
7635
7825
  */
@@ -7666,6 +7856,7 @@ export declare const orElseSucceed: {
7666
7856
  * Effect.runSyncExit(program) // => Exit.succeed(0)
7667
7857
  * ```
7668
7858
  *
7859
+ * @stability stable
7669
7860
  * @category error handling
7670
7861
  * @since 2.0.0
7671
7862
  */
@@ -7702,6 +7893,7 @@ export declare const orElseSucceed: {
7702
7893
  * Effect.runSyncExit(program) // => Exit.succeed(0)
7703
7894
  * ```
7704
7895
  *
7896
+ * @stability stable
7705
7897
  * @category error handling
7706
7898
  * @since 2.0.0
7707
7899
  */
@@ -7747,6 +7939,7 @@ export declare const orElseSucceed: {
7747
7939
  * Effect.runSync(program) // => "secondary result"
7748
7940
  * ```
7749
7941
  *
7942
+ * @stability stable
7750
7943
  * @category error handling
7751
7944
  * @since 2.0.0
7752
7945
  */
@@ -7785,6 +7978,7 @@ export declare const firstSuccessOf: <Eff extends Effect<any, any, any>>(effects
7785
7978
  * @see {@link timeoutOption} for returning `Option.none` on timeout.
7786
7979
  * @see {@link timeoutOrElse} for a version that allows specifying both success and timeout handlers.
7787
7980
  *
7981
+ * @stability stable
7788
7982
  * @category delays & timeouts
7789
7983
  * @since 2.0.0
7790
7984
  */
@@ -7823,6 +8017,7 @@ export declare const timeout: {
7823
8017
  * @see {@link timeoutOption} for returning `Option.none` on timeout.
7824
8018
  * @see {@link timeoutOrElse} for a version that allows specifying both success and timeout handlers.
7825
8019
  *
8020
+ * @stability stable
7826
8021
  * @category delays & timeouts
7827
8022
  * @since 2.0.0
7828
8023
  */
@@ -7861,6 +8056,7 @@ export declare const timeout: {
7861
8056
  * @see {@link timeoutOption} for returning `Option.none` on timeout.
7862
8057
  * @see {@link timeoutOrElse} for a version that allows specifying both success and timeout handlers.
7863
8058
  *
8059
+ * @stability stable
7864
8060
  * @category delays & timeouts
7865
8061
  * @since 2.0.0
7866
8062
  */
@@ -7893,6 +8089,7 @@ export declare const timeout: {
7893
8089
  * @see {@link timeout} for a version that raises a `TimeoutError`.
7894
8090
  * @see {@link timeoutOrElse} for a version that allows specifying both success and timeout handlers.
7895
8091
  *
8092
+ * @stability stable
7896
8093
  * @category delays & timeouts
7897
8094
  * @since 3.1.0
7898
8095
  */
@@ -7924,6 +8121,7 @@ export declare const timeoutOption: {
7924
8121
  * @see {@link timeout} for a version that raises a `TimeoutError`.
7925
8122
  * @see {@link timeoutOrElse} for a version that allows specifying both success and timeout handlers.
7926
8123
  *
8124
+ * @stability stable
7927
8125
  * @category delays & timeouts
7928
8126
  * @since 3.1.0
7929
8127
  */
@@ -7955,6 +8153,7 @@ export declare const timeoutOption: {
7955
8153
  * @see {@link timeout} for a version that raises a `TimeoutError`.
7956
8154
  * @see {@link timeoutOrElse} for a version that allows specifying both success and timeout handlers.
7957
8155
  *
8156
+ * @stability stable
7958
8157
  * @category delays & timeouts
7959
8158
  * @since 3.1.0
7960
8159
  */
@@ -7984,6 +8183,7 @@ export declare const timeoutOption: {
7984
8183
  * @see {@link timeout} for failing with a `TimeoutError`.
7985
8184
  * @see {@link timeoutOption} for returning `Option.none` on timeout.
7986
8185
  *
8186
+ * @stability stable
7987
8187
  * @category delays & timeouts
7988
8188
  * @since 4.0.0
7989
8189
  */
@@ -8012,6 +8212,7 @@ export declare const timeoutOrElse: {
8012
8212
  * @see {@link timeout} for failing with a `TimeoutError`.
8013
8213
  * @see {@link timeoutOption} for returning `Option.none` on timeout.
8014
8214
  *
8215
+ * @stability stable
8015
8216
  * @category delays & timeouts
8016
8217
  * @since 4.0.0
8017
8218
  */
@@ -8043,6 +8244,7 @@ export declare const timeoutOrElse: {
8043
8244
  * @see {@link timeout} for failing with a `TimeoutError`.
8044
8245
  * @see {@link timeoutOption} for returning `Option.none` on timeout.
8045
8246
  *
8247
+ * @stability stable
8046
8248
  * @category delays & timeouts
8047
8249
  * @since 4.0.0
8048
8250
  */
@@ -8067,6 +8269,7 @@ export declare const timeoutOrElse: {
8067
8269
  * output // => ["Delayed message"]
8068
8270
  * ```
8069
8271
  *
8272
+ * @stability stable
8070
8273
  * @category delays & timeouts
8071
8274
  * @since 2.0.0
8072
8275
  */
@@ -8087,6 +8290,7 @@ export declare const delay: {
8087
8290
  * output // => ["Delayed message"]
8088
8291
  * ```
8089
8292
  *
8293
+ * @stability stable
8090
8294
  * @category delays & timeouts
8091
8295
  * @since 2.0.0
8092
8296
  */
@@ -8107,6 +8311,7 @@ export declare const delay: {
8107
8311
  * output // => ["Delayed message"]
8108
8312
  * ```
8109
8313
  *
8314
+ * @stability stable
8110
8315
  * @category delays & timeouts
8111
8316
  * @since 2.0.0
8112
8317
  */
@@ -8132,6 +8337,7 @@ export declare const delay: {
8132
8337
  * output // => ["Start", "End"]
8133
8338
  * ```
8134
8339
  *
8340
+ * @stability stable
8135
8341
  * @category delays & timeouts
8136
8342
  * @since 2.0.0
8137
8343
  */
@@ -8157,6 +8363,7 @@ export declare const sleep: (duration: Duration.Input) => Effect<void>;
8157
8363
  * Effect.runSync(program) // => "ok"
8158
8364
  * ```
8159
8365
  *
8366
+ * @stability stable
8160
8367
  * @category delays & timeouts
8161
8368
  * @since 2.0.0
8162
8369
  */
@@ -8189,6 +8396,7 @@ export declare const timed: <A, E, R>(self: Effect<A, E, R>) => Effect<[duration
8189
8396
  * ```
8190
8397
  *
8191
8398
  * @see {@link race} for a version that handles only two effects.
8399
+ * @stability stable
8192
8400
  * @category racing
8193
8401
  * @since 2.0.0
8194
8402
  */
@@ -8221,6 +8429,7 @@ export declare const raceAll: <Eff extends Effect<any, any, any>>(all: Iterable<
8221
8429
  * await Effect.runPromise(Effect.flip(raced)) // => "First failed"
8222
8430
  * ```
8223
8431
  *
8432
+ * @stability stable
8224
8433
  * @category racing
8225
8434
  * @since 4.0.0
8226
8435
  */
@@ -8257,6 +8466,7 @@ export declare const raceAllFirst: <Eff extends Effect<any, any, any>>(all: Iter
8257
8466
  * output // => ["winner: slow-success"]
8258
8467
  * ```
8259
8468
  *
8469
+ * @stability stable
8260
8470
  * @category racing
8261
8471
  * @since 2.0.0
8262
8472
  */
@@ -8287,6 +8497,7 @@ export declare const race: {
8287
8497
  * output // => ["winner: slow-success"]
8288
8498
  * ```
8289
8499
  *
8500
+ * @stability stable
8290
8501
  * @category racing
8291
8502
  * @since 2.0.0
8292
8503
  */
@@ -8323,6 +8534,7 @@ export declare const race: {
8323
8534
  * output // => ["winner: slow-success"]
8324
8535
  * ```
8325
8536
  *
8537
+ * @stability stable
8326
8538
  * @category racing
8327
8539
  * @since 2.0.0
8328
8540
  */
@@ -8368,6 +8580,7 @@ export declare const race: {
8368
8580
  * output // => ["failed: fast-fail"]
8369
8581
  * ```
8370
8582
  *
8583
+ * @stability stable
8371
8584
  * @category racing
8372
8585
  * @since 2.0.0
8373
8586
  */
@@ -8406,6 +8619,7 @@ export declare const raceFirst: {
8406
8619
  * output // => ["failed: fast-fail"]
8407
8620
  * ```
8408
8621
  *
8622
+ * @stability stable
8409
8623
  * @category racing
8410
8624
  * @since 2.0.0
8411
8625
  */
@@ -8450,6 +8664,7 @@ export declare const raceFirst: {
8450
8664
  * output // => ["failed: fast-fail"]
8451
8665
  * ```
8452
8666
  *
8667
+ * @stability stable
8453
8668
  * @category racing
8454
8669
  * @since 2.0.0
8455
8670
  */
@@ -8482,6 +8697,7 @@ export declare const raceFirst: {
8482
8697
  * output // => [[2, 4], [2, 3]]
8483
8698
  * ```
8484
8699
  *
8700
+ * @stability stable
8485
8701
  * @category collecting
8486
8702
  * @since 2.0.0
8487
8703
  */
@@ -8507,6 +8723,7 @@ export declare const filter: {
8507
8723
  * output // => [[2, 4], [2, 3]]
8508
8724
  * ```
8509
8725
  *
8726
+ * @stability stable
8510
8727
  * @category collecting
8511
8728
  * @since 2.0.0
8512
8729
  */
@@ -8532,6 +8749,7 @@ export declare const filter: {
8532
8749
  * output // => [[2, 4], [2, 3]]
8533
8750
  * ```
8534
8751
  *
8752
+ * @stability stable
8535
8753
  * @category collecting
8536
8754
  * @since 2.0.0
8537
8755
  */
@@ -8557,6 +8775,7 @@ export declare const filter: {
8557
8775
  * output // => [[2, 4], [2, 3]]
8558
8776
  * ```
8559
8777
  *
8778
+ * @stability stable
8560
8779
  * @category collecting
8561
8780
  * @since 2.0.0
8562
8781
  */
@@ -8584,6 +8803,7 @@ export declare const filter: {
8584
8803
  * output // => [[2, 4], [2, 3]]
8585
8804
  * ```
8586
8805
  *
8806
+ * @stability stable
8587
8807
  * @category collecting
8588
8808
  * @since 2.0.0
8589
8809
  */
@@ -8609,6 +8829,7 @@ export declare const filter: {
8609
8829
  * output // => [[2, 4], [2, 3]]
8610
8830
  * ```
8611
8831
  *
8832
+ * @stability stable
8612
8833
  * @category collecting
8613
8834
  * @since 2.0.0
8614
8835
  */
@@ -8634,6 +8855,7 @@ export declare const filter: {
8634
8855
  * output // => [[2, 4], [2, 3]]
8635
8856
  * ```
8636
8857
  *
8858
+ * @stability stable
8637
8859
  * @category collecting
8638
8860
  * @since 2.0.0
8639
8861
  */
@@ -8657,6 +8879,7 @@ export declare const filter: {
8657
8879
  * @see {@link filter} for keeping original elements with a boolean predicate, refinement, or effectful predicate
8658
8880
  * @see {@link filterMapEffect} for using an effectful `Filter`
8659
8881
  *
8882
+ * @stability stable
8660
8883
  * @category collecting
8661
8884
  * @since 2.0.0
8662
8885
  */
@@ -8677,6 +8900,7 @@ export declare const filterMap: {
8677
8900
  * @see {@link filter} for keeping original elements with a boolean predicate, refinement, or effectful predicate
8678
8901
  * @see {@link filterMapEffect} for using an effectful `Filter`
8679
8902
  *
8903
+ * @stability stable
8680
8904
  * @category collecting
8681
8905
  * @since 2.0.0
8682
8906
  */
@@ -8697,6 +8921,7 @@ export declare const filterMap: {
8697
8921
  * @see {@link filter} for keeping original elements with a boolean predicate, refinement, or effectful predicate
8698
8922
  * @see {@link filterMapEffect} for using an effectful `Filter`
8699
8923
  *
8924
+ * @stability stable
8700
8925
  * @category collecting
8701
8926
  * @since 2.0.0
8702
8927
  */
@@ -8723,6 +8948,7 @@ export declare const filterMap: {
8723
8948
  * @see {@link filterMap} for using a synchronous `Filter`
8724
8949
  * @see {@link filter} for keeping original elements with a predicate
8725
8950
  *
8951
+ * @stability stable
8726
8952
  * @category collecting
8727
8953
  * @since 4.0.0
8728
8954
  */
@@ -8748,6 +8974,7 @@ export declare const filterMapEffect: {
8748
8974
  * @see {@link filterMap} for using a synchronous `Filter`
8749
8975
  * @see {@link filter} for keeping original elements with a predicate
8750
8976
  *
8977
+ * @stability stable
8751
8978
  * @category collecting
8752
8979
  * @since 4.0.0
8753
8980
  */
@@ -8775,6 +9002,7 @@ export declare const filterMapEffect: {
8775
9002
  * @see {@link filterMap} for using a synchronous `Filter`
8776
9003
  * @see {@link filter} for keeping original elements with a predicate
8777
9004
  *
9005
+ * @stability stable
8778
9006
  * @category collecting
8779
9007
  * @since 4.0.0
8780
9008
  */
@@ -8815,6 +9043,7 @@ export declare const filterMapEffect: {
8815
9043
  * Effect.runSync(filtered) // => "Number 5 is odd"
8816
9044
  * ```
8817
9045
  *
9046
+ * @stability stable
8818
9047
  * @category filtering
8819
9048
  * @since 2.0.0
8820
9049
  */
@@ -8852,6 +9081,7 @@ export declare const filterOrElse: {
8852
9081
  * Effect.runSync(filtered) // => "Number 5 is odd"
8853
9082
  * ```
8854
9083
  *
9084
+ * @stability stable
8855
9085
  * @category filtering
8856
9086
  * @since 2.0.0
8857
9087
  */
@@ -8889,6 +9119,7 @@ export declare const filterOrElse: {
8889
9119
  * Effect.runSync(filtered) // => "Number 5 is odd"
8890
9120
  * ```
8891
9121
  *
9122
+ * @stability stable
8892
9123
  * @category filtering
8893
9124
  * @since 2.0.0
8894
9125
  */
@@ -8926,6 +9157,7 @@ export declare const filterOrElse: {
8926
9157
  * Effect.runSync(filtered) // => "Number 5 is odd"
8927
9158
  * ```
8928
9159
  *
9160
+ * @stability stable
8929
9161
  * @category filtering
8930
9162
  * @since 2.0.0
8931
9163
  */
@@ -8963,6 +9195,7 @@ export declare const filterOrElse: {
8963
9195
  * Effect.runSync(filtered) // => "Number 5 is odd"
8964
9196
  * ```
8965
9197
  *
9198
+ * @stability stable
8966
9199
  * @category filtering
8967
9200
  * @since 2.0.0
8968
9201
  */
@@ -8985,6 +9218,7 @@ export declare const filterOrElse: {
8985
9218
  * @see {@link filterOrElse} for using a predicate and fallback effect
8986
9219
  * @see {@link filterMapOrFail} for failing the effect when the filter fails
8987
9220
  *
9221
+ * @stability stable
8988
9222
  * @category filtering
8989
9223
  * @since 4.0.0
8990
9224
  */
@@ -9006,6 +9240,7 @@ export declare const filterMapOrElse: {
9006
9240
  * @see {@link filterOrElse} for using a predicate and fallback effect
9007
9241
  * @see {@link filterMapOrFail} for failing the effect when the filter fails
9008
9242
  *
9243
+ * @stability stable
9009
9244
  * @category filtering
9010
9245
  * @since 4.0.0
9011
9246
  */
@@ -9027,6 +9262,7 @@ export declare const filterMapOrElse: {
9027
9262
  * @see {@link filterOrElse} for using a predicate and fallback effect
9028
9263
  * @see {@link filterMapOrFail} for failing the effect when the filter fails
9029
9264
  *
9265
+ * @stability stable
9030
9266
  * @category filtering
9031
9267
  * @since 4.0.0
9032
9268
  */
@@ -9059,6 +9295,7 @@ export declare const filterMapOrElse: {
9059
9295
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9060
9296
  * ```
9061
9297
  *
9298
+ * @stability stable
9062
9299
  * @category filtering
9063
9300
  * @since 2.0.0
9064
9301
  */
@@ -9090,6 +9327,7 @@ export declare const filterOrFail: {
9090
9327
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9091
9328
  * ```
9092
9329
  *
9330
+ * @stability stable
9093
9331
  * @category filtering
9094
9332
  * @since 2.0.0
9095
9333
  */
@@ -9121,6 +9359,7 @@ export declare const filterOrFail: {
9121
9359
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9122
9360
  * ```
9123
9361
  *
9362
+ * @stability stable
9124
9363
  * @category filtering
9125
9364
  * @since 2.0.0
9126
9365
  */
@@ -9152,6 +9391,7 @@ export declare const filterOrFail: {
9152
9391
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9153
9392
  * ```
9154
9393
  *
9394
+ * @stability stable
9155
9395
  * @category filtering
9156
9396
  * @since 2.0.0
9157
9397
  */
@@ -9183,6 +9423,7 @@ export declare const filterOrFail: {
9183
9423
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9184
9424
  * ```
9185
9425
  *
9426
+ * @stability stable
9186
9427
  * @category filtering
9187
9428
  * @since 2.0.0
9188
9429
  */
@@ -9214,6 +9455,7 @@ export declare const filterOrFail: {
9214
9455
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9215
9456
  * ```
9216
9457
  *
9458
+ * @stability stable
9217
9459
  * @category filtering
9218
9460
  * @since 2.0.0
9219
9461
  */
@@ -9245,6 +9487,7 @@ export declare const filterOrFail: {
9245
9487
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9246
9488
  * ```
9247
9489
  *
9490
+ * @stability stable
9248
9491
  * @category filtering
9249
9492
  * @since 2.0.0
9250
9493
  */
@@ -9276,6 +9519,7 @@ export declare const filterOrFail: {
9276
9519
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9277
9520
  * ```
9278
9521
  *
9522
+ * @stability stable
9279
9523
  * @category filtering
9280
9524
  * @since 2.0.0
9281
9525
  */
@@ -9307,6 +9551,7 @@ export declare const filterOrFail: {
9307
9551
  * Effect.runSync(Effect.flip(filtered)) // => "Expected even number, got 5"
9308
9552
  * ```
9309
9553
  *
9554
+ * @stability stable
9310
9555
  * @category filtering
9311
9556
  * @since 2.0.0
9312
9557
  */
@@ -9329,6 +9574,7 @@ export declare const filterOrFail: {
9329
9574
  * @see {@link filterOrFail} for validating with a predicate instead of a `Filter`
9330
9575
  * @see {@link filterMap} for filtering and mapping iterable elements
9331
9576
  *
9577
+ * @stability stable
9332
9578
  * @category filtering
9333
9579
  * @since 4.0.0
9334
9580
  */
@@ -9350,6 +9596,7 @@ export declare const filterMapOrFail: {
9350
9596
  * @see {@link filterOrFail} for validating with a predicate instead of a `Filter`
9351
9597
  * @see {@link filterMap} for filtering and mapping iterable elements
9352
9598
  *
9599
+ * @stability stable
9353
9600
  * @category filtering
9354
9601
  * @since 4.0.0
9355
9602
  */
@@ -9371,6 +9618,7 @@ export declare const filterMapOrFail: {
9371
9618
  * @see {@link filterOrFail} for validating with a predicate instead of a `Filter`
9372
9619
  * @see {@link filterMap} for filtering and mapping iterable elements
9373
9620
  *
9621
+ * @stability stable
9374
9622
  * @category filtering
9375
9623
  * @since 4.0.0
9376
9624
  */
@@ -9392,6 +9640,7 @@ export declare const filterMapOrFail: {
9392
9640
  * @see {@link filterOrFail} for validating with a predicate instead of a `Filter`
9393
9641
  * @see {@link filterMap} for filtering and mapping iterable elements
9394
9642
  *
9643
+ * @stability stable
9395
9644
  * @category filtering
9396
9645
  * @since 4.0.0
9397
9646
  */
@@ -9413,6 +9662,7 @@ export declare const filterMapOrFail: {
9413
9662
  * @see {@link filterOrFail} for validating with a predicate instead of a `Filter`
9414
9663
  * @see {@link filterMap} for filtering and mapping iterable elements
9415
9664
  *
9665
+ * @stability stable
9416
9666
  * @category filtering
9417
9667
  * @since 4.0.0
9418
9668
  */
@@ -9451,6 +9701,7 @@ export declare const filterMapOrFail: {
9451
9701
  * output // => ["Condition is true!", Option.some(undefined)]
9452
9702
  * ```
9453
9703
  *
9704
+ * @stability stable
9454
9705
  * @category filtering
9455
9706
  * @since 2.0.0
9456
9707
  */
@@ -9488,6 +9739,7 @@ export declare const when: {
9488
9739
  * output // => ["Condition is true!", Option.some(undefined)]
9489
9740
  * ```
9490
9741
  *
9742
+ * @stability stable
9491
9743
  * @category filtering
9492
9744
  * @since 2.0.0
9493
9745
  */
@@ -9525,6 +9777,7 @@ export declare const when: {
9525
9777
  * output // => ["Condition is true!", Option.some(undefined)]
9526
9778
  * ```
9527
9779
  *
9780
+ * @stability stable
9528
9781
  * @category filtering
9529
9782
  * @since 2.0.0
9530
9783
  */
@@ -9577,6 +9830,7 @@ export declare const when: {
9577
9830
  * ```
9578
9831
  *
9579
9832
  * @see {@link matchEffect} if you need to perform side effects in the handlers.
9833
+ * @stability stable
9580
9834
  * @category pattern matching
9581
9835
  * @since 2.0.0
9582
9836
  */
@@ -9628,6 +9882,7 @@ export declare const match: {
9628
9882
  * ```
9629
9883
  *
9630
9884
  * @see {@link matchEffect} if you need to perform side effects in the handlers.
9885
+ * @stability stable
9631
9886
  * @category pattern matching
9632
9887
  * @since 2.0.0
9633
9888
  */
@@ -9682,6 +9937,7 @@ export declare const match: {
9682
9937
  * ```
9683
9938
  *
9684
9939
  * @see {@link matchEffect} if you need to perform side effects in the handlers.
9940
+ * @stability stable
9685
9941
  * @category pattern matching
9686
9942
  * @since 2.0.0
9687
9943
  */
@@ -9726,6 +9982,7 @@ export declare const match: {
9726
9982
  *
9727
9983
  * @see {@link match} for the non-eager version.
9728
9984
  * @see {@link matchEffect} if you need to perform side effects in the handlers.
9985
+ * @stability stable
9729
9986
  * @category pattern matching
9730
9987
  * @since 4.0.0
9731
9988
  */
@@ -9766,6 +10023,7 @@ export declare const matchEager: {
9766
10023
  *
9767
10024
  * @see {@link match} for the non-eager version.
9768
10025
  * @see {@link matchEffect} if you need to perform side effects in the handlers.
10026
+ * @stability stable
9769
10027
  * @category pattern matching
9770
10028
  * @since 4.0.0
9771
10029
  */
@@ -9809,6 +10067,7 @@ export declare const matchEager: {
9809
10067
  *
9810
10068
  * @see {@link match} for the non-eager version.
9811
10069
  * @see {@link matchEffect} if you need to perform side effects in the handlers.
10070
+ * @stability stable
9812
10071
  * @category pattern matching
9813
10072
  * @since 4.0.0
9814
10073
  */
@@ -9848,6 +10107,7 @@ export declare const matchEager: {
9848
10107
  * @see {@link matchCauseEffect} if you need to perform side effects in the
9849
10108
  * handlers.
9850
10109
  * @see {@link match} if you don't need to handle the cause of the failure.
10110
+ * @stability stable
9851
10111
  * @category pattern matching
9852
10112
  * @since 2.0.0
9853
10113
  */
@@ -9883,6 +10143,7 @@ export declare const matchCause: {
9883
10143
  * @see {@link matchCauseEffect} if you need to perform side effects in the
9884
10144
  * handlers.
9885
10145
  * @see {@link match} if you don't need to handle the cause of the failure.
10146
+ * @stability stable
9886
10147
  * @category pattern matching
9887
10148
  * @since 2.0.0
9888
10149
  */
@@ -9921,6 +10182,7 @@ export declare const matchCause: {
9921
10182
  * @see {@link matchCauseEffect} if you need to perform side effects in the
9922
10183
  * handlers.
9923
10184
  * @see {@link match} if you don't need to handle the cause of the failure.
10185
+ * @stability stable
9924
10186
  * @category pattern matching
9925
10187
  * @since 2.0.0
9926
10188
  */
@@ -9955,6 +10217,7 @@ export declare const matchCause: {
9955
10217
  * Effect.runSync(handleResult) // => "Success: 42"
9956
10218
  * ```
9957
10219
  *
10220
+ * @stability stable
9958
10221
  * @category pattern matching
9959
10222
  * @since 4.0.0
9960
10223
  */
@@ -9985,6 +10248,7 @@ export declare const matchCauseEager: {
9985
10248
  * Effect.runSync(handleResult) // => "Success: 42"
9986
10249
  * ```
9987
10250
  *
10251
+ * @stability stable
9988
10252
  * @category pattern matching
9989
10253
  * @since 4.0.0
9990
10254
  */
@@ -10018,6 +10282,7 @@ export declare const matchCauseEager: {
10018
10282
  * Effect.runSync(handleResult) // => "Success: 42"
10019
10283
  * ```
10020
10284
  *
10285
+ * @stability stable
10021
10286
  * @category pattern matching
10022
10287
  * @since 4.0.0
10023
10288
  */
@@ -10043,6 +10308,7 @@ export declare const matchCauseEager: {
10043
10308
  * @see {@link matchCauseEager} for eager cause matching with pure handlers
10044
10309
  * @see {@link matchEffect} for effectful matching on typed failures instead of full causes
10045
10310
  *
10311
+ * @stability stable
10046
10312
  * @category pattern matching
10047
10313
  * @since 4.0.0
10048
10314
  */
@@ -10064,6 +10330,7 @@ export declare const matchCauseEffectEager: {
10064
10330
  * @see {@link matchCauseEager} for eager cause matching with pure handlers
10065
10331
  * @see {@link matchEffect} for effectful matching on typed failures instead of full causes
10066
10332
  *
10333
+ * @stability stable
10067
10334
  * @category pattern matching
10068
10335
  * @since 4.0.0
10069
10336
  */
@@ -10088,6 +10355,7 @@ export declare const matchCauseEffectEager: {
10088
10355
  * @see {@link matchCauseEager} for eager cause matching with pure handlers
10089
10356
  * @see {@link matchEffect} for effectful matching on typed failures instead of full causes
10090
10357
  *
10358
+ * @stability stable
10091
10359
  * @category pattern matching
10092
10360
  * @since 4.0.0
10093
10361
  */
@@ -10151,6 +10419,7 @@ export declare const matchCauseEffectEager: {
10151
10419
  * @see {@link matchCause} if you don't need side effects and only want to handle the result or failure.
10152
10420
  * @see {@link matchEffect} if you don't need to handle the cause of the failure.
10153
10421
  *
10422
+ * @stability stable
10154
10423
  * @category pattern matching
10155
10424
  * @since 2.0.0
10156
10425
  */
@@ -10210,6 +10479,7 @@ export declare const matchCauseEffect: {
10210
10479
  * @see {@link matchCause} if you don't need side effects and only want to handle the result or failure.
10211
10480
  * @see {@link matchEffect} if you don't need to handle the cause of the failure.
10212
10481
  *
10482
+ * @stability stable
10213
10483
  * @category pattern matching
10214
10484
  * @since 2.0.0
10215
10485
  */
@@ -10272,6 +10542,7 @@ export declare const matchCauseEffect: {
10272
10542
  * @see {@link matchCause} if you don't need side effects and only want to handle the result or failure.
10273
10543
  * @see {@link matchEffect} if you don't need to handle the cause of the failure.
10274
10544
  *
10545
+ * @stability stable
10275
10546
  * @category pattern matching
10276
10547
  * @since 2.0.0
10277
10548
  */
@@ -10327,6 +10598,7 @@ export declare const matchCauseEffect: {
10327
10598
  *
10328
10599
  * @see {@link match} if you don't need side effects and only want to handle the
10329
10600
  * result or failure.
10601
+ * @stability stable
10330
10602
  * @category pattern matching
10331
10603
  * @since 2.0.0
10332
10604
  */
@@ -10378,6 +10650,7 @@ export declare const matchEffect: {
10378
10650
  *
10379
10651
  * @see {@link match} if you don't need side effects and only want to handle the
10380
10652
  * result or failure.
10653
+ * @stability stable
10381
10654
  * @category pattern matching
10382
10655
  * @since 2.0.0
10383
10656
  */
@@ -10432,6 +10705,7 @@ export declare const matchEffect: {
10432
10705
  *
10433
10706
  * @see {@link match} if you don't need side effects and only want to handle the
10434
10707
  * result or failure.
10708
+ * @stability stable
10435
10709
  * @category pattern matching
10436
10710
  * @since 2.0.0
10437
10711
  */
@@ -10462,6 +10736,7 @@ export declare const matchEffect: {
10462
10736
  * output // => [true]
10463
10737
  * ```
10464
10738
  *
10739
+ * @stability stable
10465
10740
  * @category predicates
10466
10741
  * @since 2.0.0
10467
10742
  */
@@ -10491,6 +10766,7 @@ export declare const isFailure: <A, E, R>(self: Effect<A, E, R>) => Effect<boole
10491
10766
  * output // => ["ok: true", "failed: false"]
10492
10767
  * ```
10493
10768
  *
10769
+ * @stability stable
10494
10770
  * @category predicates
10495
10771
  * @since 2.0.0
10496
10772
  */
@@ -10543,6 +10819,7 @@ export declare const isSuccess: <A, E, R>(self: Effect<A, E, R>) => Effect<boole
10543
10819
  * @see {@link contextWith} for deriving an effect from the complete context
10544
10820
  * @see {@link service} for reading one service from the context
10545
10821
  *
10822
+ * @stability stable
10546
10823
  * @category accessors
10547
10824
  * @since 2.0.0
10548
10825
  */
@@ -10601,6 +10878,7 @@ export declare const context: <R = never>() => Effect<Context.Context<R>, never,
10601
10878
  * @see {@link context} for reading the complete context as a value
10602
10879
  * @see {@link service} for reading one service from the context
10603
10880
  *
10881
+ * @stability stable
10604
10882
  * @category accessors
10605
10883
  * @since 2.0.0
10606
10884
  */
@@ -10635,6 +10913,7 @@ export declare const contextWith: <R, A, E, R2>(f: (context: Context.Context<R>)
10635
10913
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10636
10914
  * ```
10637
10915
  *
10916
+ * @stability stable
10638
10917
  * @category providing services
10639
10918
  * @since 2.0.0
10640
10919
  */
@@ -10669,6 +10948,7 @@ export declare const provide: {
10669
10948
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10670
10949
  * ```
10671
10950
  *
10951
+ * @stability stable
10672
10952
  * @category providing services
10673
10953
  * @since 2.0.0
10674
10954
  */
@@ -10705,6 +10985,7 @@ export declare const provide: {
10705
10985
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10706
10986
  * ```
10707
10987
  *
10988
+ * @stability stable
10708
10989
  * @category providing services
10709
10990
  * @since 2.0.0
10710
10991
  */
@@ -10741,6 +11022,7 @@ export declare const provide: {
10741
11022
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10742
11023
  * ```
10743
11024
  *
11025
+ * @stability stable
10744
11026
  * @category providing services
10745
11027
  * @since 2.0.0
10746
11028
  */
@@ -10775,6 +11057,7 @@ export declare const provide: {
10775
11057
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10776
11058
  * ```
10777
11059
  *
11060
+ * @stability stable
10778
11061
  * @category providing services
10779
11062
  * @since 2.0.0
10780
11063
  */
@@ -10811,6 +11094,7 @@ export declare const provide: {
10811
11094
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10812
11095
  * ```
10813
11096
  *
11097
+ * @stability stable
10814
11098
  * @category providing services
10815
11099
  * @since 2.0.0
10816
11100
  */
@@ -10847,6 +11131,7 @@ export declare const provide: {
10847
11131
  * await Effect.runPromise(provided) // => "Result for: SELECT * FROM users"
10848
11132
  * ```
10849
11133
  *
11134
+ * @stability stable
10850
11135
  * @category providing services
10851
11136
  * @since 2.0.0
10852
11137
  */
@@ -10892,6 +11177,7 @@ export declare const provide: {
10892
11177
  * output // => ["Querying database", "result"]
10893
11178
  * ```
10894
11179
  *
11180
+ * @stability stable
10895
11181
  * @category providing services
10896
11182
  * @since 4.0.0
10897
11183
  */
@@ -10936,6 +11222,7 @@ export declare const provideContext: {
10936
11222
  * output // => ["Querying database", "result"]
10937
11223
  * ```
10938
11224
  *
11225
+ * @stability stable
10939
11226
  * @category providing services
10940
11227
  * @since 4.0.0
10941
11228
  */
@@ -10980,6 +11267,7 @@ export declare const provideContext: {
10980
11267
  * output // => ["Querying database", "result"]
10981
11268
  * ```
10982
11269
  *
11270
+ * @stability stable
10983
11271
  * @category providing services
10984
11272
  * @since 4.0.0
10985
11273
  */
@@ -11023,6 +11311,7 @@ export declare const provideContext: {
11023
11311
  * @see {@link provideContext} for partially satisfying an effect's context requirements.
11024
11312
  * @see {@link updateContext} for deriving the required context from the current one.
11025
11313
  *
11314
+ * @stability stable
11026
11315
  * @category providing services
11027
11316
  * @since 4.0.0
11028
11317
  */
@@ -11065,6 +11354,7 @@ export declare const setContext: {
11065
11354
  * @see {@link provideContext} for partially satisfying an effect's context requirements.
11066
11355
  * @see {@link updateContext} for deriving the required context from the current one.
11067
11356
  *
11357
+ * @stability stable
11068
11358
  * @category providing services
11069
11359
  * @since 4.0.0
11070
11360
  */
@@ -11107,6 +11397,7 @@ export declare const setContext: {
11107
11397
  * @see {@link provideContext} for partially satisfying an effect's context requirements.
11108
11398
  * @see {@link updateContext} for deriving the required context from the current one.
11109
11399
  *
11400
+ * @stability stable
11110
11401
  * @category providing services
11111
11402
  * @since 4.0.0
11112
11403
  */
@@ -11137,6 +11428,7 @@ export declare const setContext: {
11137
11428
  * Effect.runSync(runnable) // => "Result for: SELECT * FROM users"
11138
11429
  * ```
11139
11430
  *
11431
+ * @stability stable
11140
11432
  * @category accessors
11141
11433
  * @since 4.0.0
11142
11434
  */
@@ -11182,6 +11474,7 @@ export declare const service: <I, S>(service: Context.Key<I, S>) => Effect<S, ne
11182
11474
  * output // => ["Service not available"]
11183
11475
  * ```
11184
11476
  *
11477
+ * @stability stable
11185
11478
  * @category accessors
11186
11479
  * @since 2.0.0
11187
11480
  */
@@ -11225,6 +11518,7 @@ export declare const serviceOption: <I, S>(key: Context.Key<I, S>) => Effect<Opt
11225
11518
  * Effect.runSync(result) // => "Hello World!"
11226
11519
  * ```
11227
11520
  *
11521
+ * @stability stable
11228
11522
  * @category providing services
11229
11523
  * @since 4.0.0
11230
11524
  */
@@ -11268,6 +11562,7 @@ export declare const updateContext: {
11268
11562
  * Effect.runSync(result) // => "Hello World!"
11269
11563
  * ```
11270
11564
  *
11565
+ * @stability stable
11271
11566
  * @category providing services
11272
11567
  * @since 4.0.0
11273
11568
  */
@@ -11311,6 +11606,7 @@ export declare const updateContext: {
11311
11606
  * Effect.runSync(result) // => "Hello World!"
11312
11607
  * ```
11313
11608
  *
11609
+ * @stability stable
11314
11610
  * @category providing services
11315
11611
  * @since 4.0.0
11316
11612
  */
@@ -11348,6 +11644,7 @@ export declare const updateContext: {
11348
11644
  * output // => ["Updated count: 1", 1]
11349
11645
  * ```
11350
11646
  *
11647
+ * @stability stable
11351
11648
  * @category providing services
11352
11649
  * @since 2.0.0
11353
11650
  */
@@ -11384,6 +11681,7 @@ export declare const updateService: {
11384
11681
  * output // => ["Updated count: 1", 1]
11385
11682
  * ```
11386
11683
  *
11684
+ * @stability stable
11387
11685
  * @category providing services
11388
11686
  * @since 2.0.0
11389
11687
  */
@@ -11420,6 +11718,7 @@ export declare const updateService: {
11420
11718
  * output // => ["Updated count: 1", 1]
11421
11719
  * ```
11422
11720
  *
11721
+ * @stability stable
11423
11722
  * @category providing services
11424
11723
  * @since 2.0.0
11425
11724
  */
@@ -11481,6 +11780,7 @@ export declare const updateService: {
11481
11780
  *
11482
11781
  * @see {@link updateService} for updating a service only within a wrapped effect
11483
11782
  *
11783
+ * @stability stable
11484
11784
  * @category providing services
11485
11785
  * @since 4.0.0
11486
11786
  */
@@ -11531,6 +11831,7 @@ export declare const updateServiceScoped: <I, A>(service: Context.Key<I, A>, f:
11531
11831
  * @see {@link provide} for providing multiple layers to an effect.
11532
11832
  * @see {@link provideServiceEffect} for acquiring the service implementation effectfully.
11533
11833
  * @see {@link provideContext} for providing a complete context.
11834
+ * @stability stable
11534
11835
  * @category providing services
11535
11836
  * @since 2.0.0
11536
11837
  */
@@ -11579,6 +11880,7 @@ export declare const provideService: {
11579
11880
  * @see {@link provide} for providing multiple layers to an effect.
11580
11881
  * @see {@link provideServiceEffect} for acquiring the service implementation effectfully.
11581
11882
  * @see {@link provideContext} for providing a complete context.
11883
+ * @stability stable
11582
11884
  * @category providing services
11583
11885
  * @since 2.0.0
11584
11886
  */
@@ -11627,6 +11929,7 @@ export declare const provideService: {
11627
11929
  * @see {@link provide} for providing multiple layers to an effect.
11628
11930
  * @see {@link provideServiceEffect} for acquiring the service implementation effectfully.
11629
11931
  * @see {@link provideContext} for providing a complete context.
11932
+ * @stability stable
11630
11933
  * @category providing services
11631
11934
  * @since 2.0.0
11632
11935
  */
@@ -11675,6 +11978,7 @@ export declare const provideService: {
11675
11978
  * @see {@link provide} for providing multiple layers to an effect.
11676
11979
  * @see {@link provideServiceEffect} for acquiring the service implementation effectfully.
11677
11980
  * @see {@link provideContext} for providing a complete context.
11981
+ * @stability stable
11678
11982
  * @category providing services
11679
11983
  * @since 2.0.0
11680
11984
  */
@@ -11724,6 +12028,7 @@ export declare const provideService: {
11724
12028
  * @see {@link provide} for providing multiple layers to an effect.
11725
12029
  * @see {@link provideServiceEffect} for acquiring the service implementation effectfully.
11726
12030
  * @see {@link provideContext} for providing a complete context.
12031
+ * @stability stable
11727
12032
  * @category providing services
11728
12033
  * @since 2.0.0
11729
12034
  */
@@ -11772,6 +12077,7 @@ export declare const provideService: {
11772
12077
  * @see {@link provide} for providing multiple layers to an effect.
11773
12078
  * @see {@link provideServiceEffect} for acquiring the service implementation effectfully.
11774
12079
  * @see {@link provideContext} for providing a complete context.
12080
+ * @stability stable
11775
12081
  * @category providing services
11776
12082
  * @since 2.0.0
11777
12083
  */
@@ -11829,6 +12135,7 @@ export declare const provideService: {
11829
12135
  * output // => ["Establishing database connection...", "Database connected!", "Result for: SELECT * FROM users"]
11830
12136
  * ```
11831
12137
  *
12138
+ * @stability stable
11832
12139
  * @category providing services
11833
12140
  * @since 2.0.0
11834
12141
  */
@@ -11885,6 +12192,7 @@ export declare const provideServiceEffect: {
11885
12192
  * output // => ["Establishing database connection...", "Database connected!", "Result for: SELECT * FROM users"]
11886
12193
  * ```
11887
12194
  *
12195
+ * @stability stable
11888
12196
  * @category providing services
11889
12197
  * @since 2.0.0
11890
12198
  */
@@ -11941,6 +12249,7 @@ export declare const provideServiceEffect: {
11941
12249
  * output // => ["Establishing database connection...", "Database connected!", "Result for: SELECT * FROM users"]
11942
12250
  * ```
11943
12251
  *
12252
+ * @stability stable
11944
12253
  * @category providing services
11945
12254
  * @since 2.0.0
11946
12255
  */
@@ -11972,6 +12281,7 @@ export declare const provideServiceEffect: {
11972
12281
  * output // => ["Got scope for resource management", "Acquiring resource", "Releasing resource", "resource"]
11973
12282
  * ```
11974
12283
  *
12284
+ * @stability stable
11975
12285
  * @category resource management
11976
12286
  * @since 2.0.0
11977
12287
  */
@@ -12011,6 +12321,7 @@ export declare const scope: Effect<Scope, never, Scope>;
12011
12321
  * output // => ["Acquiring resource", "Using resource", "Releasing resource"]
12012
12322
  * ```
12013
12323
  *
12324
+ * @stability stable
12014
12325
  * @category resource management
12015
12326
  * @since 2.0.0
12016
12327
  */
@@ -12052,6 +12363,7 @@ export declare const scoped: <A, E, R>(self: Effect<A, E, R>) => Effect<A, E, Ex
12052
12363
  * output // => ["Inside scoped context", "Acquiring resource", "Releasing resource", "Manual finalizer", "resource"]
12053
12364
  * ```
12054
12365
  *
12366
+ * @stability stable
12055
12367
  * @category resource management
12056
12368
  * @since 3.11.0
12057
12369
  */
@@ -12118,6 +12430,7 @@ export declare const scopedWith: <A, E, R>(f: (scope: Scope) => Effect<A, E, R>)
12118
12430
  * @see {@link acquireDisposable} for resources that implement JavaScript disposal protocols
12119
12431
  * @see {@link acquireUseRelease} for bracketing acquire, use, and release in one effect
12120
12432
  *
12433
+ * @stability stable
12121
12434
  * @category resource management
12122
12435
  * @since 2.0.0
12123
12436
  */
@@ -12169,6 +12482,7 @@ export declare const acquireRelease: <A, E, R, R2>(acquire: Effect<A, E, R>, rel
12169
12482
  *
12170
12483
  * @see {@link acquireRelease} for resources that need an explicit finalizer
12171
12484
  *
12485
+ * @stability stable
12172
12486
  * @category resource management
12173
12487
  * @since 4.0.0
12174
12488
  */
@@ -12244,6 +12558,7 @@ export declare const acquireDisposable: <A extends AsyncDisposable | Disposable,
12244
12558
  *
12245
12559
  * @see {@link acquireRelease} for scoped resources whose use happens later
12246
12560
  *
12561
+ * @stability stable
12247
12562
  * @category resource management
12248
12563
  * @since 2.0.0
12249
12564
  */
@@ -12291,6 +12606,7 @@ export declare const acquireUseRelease: <Resource, E, R, A, E2, R2, E3, R3>(acqu
12291
12606
  * @see {@link acquireRelease} for resource acquisition with a release finalizer
12292
12607
  * @see {@link ensuring} for attaching a finalizer to one effect
12293
12608
  *
12609
+ * @stability stable
12294
12610
  * @category resource management
12295
12611
  * @since 2.0.0
12296
12612
  */
@@ -12330,6 +12646,7 @@ export declare const addFinalizer: <R>(finalizer: (exit: Exit.Exit<unknown, unkn
12330
12646
  * output // => ["Task started", "Task completed", "Cleanup: This always runs!", 42]
12331
12647
  * ```
12332
12648
  *
12649
+ * @stability stable
12333
12650
  * @category resource management
12334
12651
  * @since 2.0.0
12335
12652
  */
@@ -12369,6 +12686,7 @@ export declare const ensuring: {
12369
12686
  * output // => ["Task started", "Task completed", "Cleanup: This always runs!", 42]
12370
12687
  * ```
12371
12688
  *
12689
+ * @stability stable
12372
12690
  * @category resource management
12373
12691
  * @since 2.0.0
12374
12692
  */
@@ -12408,6 +12726,7 @@ export declare const ensuring: {
12408
12726
  * output // => ["Task started", "Task completed", "Cleanup: This always runs!", 42]
12409
12727
  * ```
12410
12728
  *
12729
+ * @stability stable
12411
12730
  * @category resource management
12412
12731
  * @since 2.0.0
12413
12732
  */
@@ -12437,6 +12756,7 @@ export declare const ensuring: {
12437
12756
  * output // => ["Cleanup on error: TaskError: Something went wrong", Exit.fail(error)]
12438
12757
  * ```
12439
12758
  *
12759
+ * @stability stable
12440
12760
  * @category resource management
12441
12761
  * @since 2.0.0
12442
12762
  */
@@ -12465,6 +12785,7 @@ export declare const onError: {
12465
12785
  * output // => ["Cleanup on error: TaskError: Something went wrong", Exit.fail(error)]
12466
12786
  * ```
12467
12787
  *
12788
+ * @stability stable
12468
12789
  * @category resource management
12469
12790
  * @since 2.0.0
12470
12791
  */
@@ -12493,6 +12814,7 @@ export declare const onError: {
12493
12814
  * output // => ["Cleanup on error: TaskError: Something went wrong", Exit.fail(error)]
12494
12815
  * ```
12495
12816
  *
12817
+ * @stability stable
12496
12818
  * @category resource management
12497
12819
  * @since 2.0.0
12498
12820
  */
@@ -12523,6 +12845,7 @@ export declare const onError: {
12523
12845
  * output // => ["Cause: boom", Exit.fail("boom")]
12524
12846
  * ```
12525
12847
  *
12848
+ * @stability stable
12526
12849
  * @category resource management
12527
12850
  * @since 4.0.0
12528
12851
  */
@@ -12552,6 +12875,7 @@ export declare const onErrorIf: {
12552
12875
  * output // => ["Cause: boom", Exit.fail("boom")]
12553
12876
  * ```
12554
12877
  *
12878
+ * @stability stable
12555
12879
  * @category resource management
12556
12880
  * @since 4.0.0
12557
12881
  */
@@ -12581,6 +12905,7 @@ export declare const onErrorIf: {
12581
12905
  * output // => ["Cause: boom", Exit.fail("boom")]
12582
12906
  * ```
12583
12907
  *
12908
+ * @stability stable
12584
12909
  * @category resource management
12585
12910
  * @since 4.0.0
12586
12911
  */
@@ -12599,6 +12924,7 @@ export declare const onErrorIf: {
12599
12924
  * @see {@link onErrorIf} for selecting failures with a boolean predicate
12600
12925
  * @see {@link onExitFilter} for selecting from every exit instead of only failures
12601
12926
  *
12927
+ * @stability stable
12602
12928
  * @category resource management
12603
12929
  * @since 4.0.0
12604
12930
  */
@@ -12616,6 +12942,7 @@ export declare const onErrorFilter: {
12616
12942
  * @see {@link onErrorIf} for selecting failures with a boolean predicate
12617
12943
  * @see {@link onExitFilter} for selecting from every exit instead of only failures
12618
12944
  *
12945
+ * @stability stable
12619
12946
  * @category resource management
12620
12947
  * @since 4.0.0
12621
12948
  */
@@ -12633,6 +12960,7 @@ export declare const onErrorFilter: {
12633
12960
  * @see {@link onErrorIf} for selecting failures with a boolean predicate
12634
12961
  * @see {@link onExitFilter} for selecting from every exit instead of only failures
12635
12962
  *
12963
+ * @stability stable
12636
12964
  * @category resource management
12637
12965
  * @since 4.0.0
12638
12966
  */
@@ -12656,6 +12984,7 @@ export declare const onErrorFilter: {
12656
12984
  *
12657
12985
  * @see {@link onExit} for ordinary exit-aware cleanup whose finalizer always returns an effect
12658
12986
  *
12987
+ * @stability stable
12659
12988
  * @category resource management
12660
12989
  * @since 4.0.0
12661
12990
  */
@@ -12687,6 +13016,7 @@ export declare const onExitPrimitive: <A, E, R, XE = never, XR = never>(self: Ef
12687
13016
  * output // => ["Task succeeded with: 42", 42]
12688
13017
  * ```
12689
13018
  *
13019
+ * @stability stable
12690
13020
  * @category resource management
12691
13021
  * @since 2.0.0
12692
13022
  */
@@ -12718,6 +13048,7 @@ export declare const onExit: {
12718
13048
  * output // => ["Task succeeded with: 42", 42]
12719
13049
  * ```
12720
13050
  *
13051
+ * @stability stable
12721
13052
  * @category resource management
12722
13053
  * @since 2.0.0
12723
13054
  */
@@ -12749,6 +13080,7 @@ export declare const onExit: {
12749
13080
  * output // => ["Task succeeded with: 42", 42]
12750
13081
  * ```
12751
13082
  *
13083
+ * @stability stable
12752
13084
  * @category resource management
12753
13085
  * @since 2.0.0
12754
13086
  */
@@ -12777,6 +13109,7 @@ export declare const onExit: {
12777
13109
  * output // => ["Succeeded with: 42", 42]
12778
13110
  * ```
12779
13111
  *
13112
+ * @stability stable
12780
13113
  * @category resource management
12781
13114
  * @since 4.0.0
12782
13115
  */
@@ -12804,6 +13137,7 @@ export declare const onExitIf: {
12804
13137
  * output // => ["Succeeded with: 42", 42]
12805
13138
  * ```
12806
13139
  *
13140
+ * @stability stable
12807
13141
  * @category resource management
12808
13142
  * @since 4.0.0
12809
13143
  */
@@ -12831,6 +13165,7 @@ export declare const onExitIf: {
12831
13165
  * output // => ["Succeeded with: 42", 42]
12832
13166
  * ```
12833
13167
  *
13168
+ * @stability stable
12834
13169
  * @category resource management
12835
13170
  * @since 4.0.0
12836
13171
  */
@@ -12854,6 +13189,7 @@ export declare const onExitIf: {
12854
13189
  * @see {@link onExitIf} for selecting exits with a boolean predicate
12855
13190
  * @see {@link onErrorFilter} for selecting only failure causes
12856
13191
  *
13192
+ * @stability stable
12857
13193
  * @category resource management
12858
13194
  * @since 4.0.0
12859
13195
  */
@@ -12876,6 +13212,7 @@ export declare const onExitFilter: {
12876
13212
  * @see {@link onExitIf} for selecting exits with a boolean predicate
12877
13213
  * @see {@link onErrorFilter} for selecting only failure causes
12878
13214
  *
13215
+ * @stability stable
12879
13216
  * @category resource management
12880
13217
  * @since 4.0.0
12881
13218
  */
@@ -12898,6 +13235,7 @@ export declare const onExitFilter: {
12898
13235
  * @see {@link onExitIf} for selecting exits with a boolean predicate
12899
13236
  * @see {@link onErrorFilter} for selecting only failure causes
12900
13237
  *
13238
+ * @stability stable
12901
13239
  * @category resource management
12902
13240
  * @since 4.0.0
12903
13241
  */
@@ -12955,6 +13293,7 @@ export declare const onExitFilter: {
12955
13293
  * time-to-live duration for the cached value.
12956
13294
  * @see {@link cachedInvalidateWithTTL} for a similar function that includes an
12957
13295
  * additional effect for manually invalidating the cached value.
13296
+ * @stability stable
12958
13297
  * @category caching
12959
13298
  * @since 2.0.0
12960
13299
  */
@@ -13040,6 +13379,7 @@ export declare const cached: <A, E, R>(self: Effect<A, E, R>) => Effect<Effect<A
13040
13379
  * indefinitely.
13041
13380
  * @see {@link cachedInvalidateWithTTL} for a similar function that includes an
13042
13381
  * additional effect for manually invalidating the cached value.
13382
+ * @stability stable
13043
13383
  * @category caching
13044
13384
  * @since 2.0.0
13045
13385
  */
@@ -13125,6 +13465,7 @@ export declare const cachedWithTTL: {
13125
13465
  * indefinitely.
13126
13466
  * @see {@link cachedInvalidateWithTTL} for a similar function that includes an
13127
13467
  * additional effect for manually invalidating the cached value.
13468
+ * @stability stable
13128
13469
  * @category caching
13129
13470
  * @since 2.0.0
13130
13471
  */
@@ -13210,6 +13551,7 @@ export declare const cachedWithTTL: {
13210
13551
  * indefinitely.
13211
13552
  * @see {@link cachedInvalidateWithTTL} for a similar function that includes an
13212
13553
  * additional effect for manually invalidating the cached value.
13554
+ * @stability stable
13213
13555
  * @category caching
13214
13556
  * @since 2.0.0
13215
13557
  */
@@ -13295,6 +13637,7 @@ export declare const cachedWithTTL: {
13295
13637
  * indefinitely.
13296
13638
  * @see {@link cachedInvalidateWithTTL} for a similar function that includes an
13297
13639
  * additional effect for manually invalidating the cached value.
13640
+ * @stability stable
13298
13641
  * @category caching
13299
13642
  * @since 2.0.0
13300
13643
  */
@@ -13380,6 +13723,7 @@ export declare const cachedWithTTL: {
13380
13723
  * indefinitely.
13381
13724
  * @see {@link cachedInvalidateWithTTL} for a similar function that includes an
13382
13725
  * additional effect for manually invalidating the cached value.
13726
+ * @stability stable
13383
13727
  * @category caching
13384
13728
  * @since 2.0.0
13385
13729
  */
@@ -13440,6 +13784,7 @@ export declare const cachedWithTTL: {
13440
13784
  * indefinitely.
13441
13785
  * @see {@link cachedWithTTL} for a similar function that caches the result for
13442
13786
  * a specified duration but does not include an effect for manual invalidation.
13787
+ * @stability stable
13443
13788
  * @category caching
13444
13789
  * @since 2.0.0
13445
13790
  */
@@ -13499,6 +13844,7 @@ export declare const cachedInvalidateWithTTL: {
13499
13844
  * indefinitely.
13500
13845
  * @see {@link cachedWithTTL} for a similar function that caches the result for
13501
13846
  * a specified duration but does not include an effect for manual invalidation.
13847
+ * @stability stable
13502
13848
  * @category caching
13503
13849
  * @since 2.0.0
13504
13850
  */
@@ -13558,6 +13904,7 @@ export declare const cachedInvalidateWithTTL: {
13558
13904
  * indefinitely.
13559
13905
  * @see {@link cachedWithTTL} for a similar function that caches the result for
13560
13906
  * a specified duration but does not include an effect for manual invalidation.
13907
+ * @stability stable
13561
13908
  * @category caching
13562
13909
  * @since 2.0.0
13563
13910
  */
@@ -13617,6 +13964,7 @@ export declare const cachedInvalidateWithTTL: {
13617
13964
  * indefinitely.
13618
13965
  * @see {@link cachedWithTTL} for a similar function that caches the result for
13619
13966
  * a specified duration but does not include an effect for manual invalidation.
13967
+ * @stability stable
13620
13968
  * @category caching
13621
13969
  * @since 2.0.0
13622
13970
  */
@@ -13676,6 +14024,7 @@ export declare const cachedInvalidateWithTTL: {
13676
14024
  * indefinitely.
13677
14025
  * @see {@link cachedWithTTL} for a similar function that caches the result for
13678
14026
  * a specified duration but does not include an effect for manual invalidation.
14027
+ * @stability stable
13679
14028
  * @category caching
13680
14029
  * @since 2.0.0
13681
14030
  */
@@ -13697,6 +14046,7 @@ export declare const cachedInvalidateWithTTL: {
13697
14046
  * Effect.runSyncExit(program)._tag // => "Failure"
13698
14047
  * ```
13699
14048
  *
14049
+ * @stability stable
13700
14050
  * @category interruption
13701
14051
  * @since 2.0.0
13702
14052
  */
@@ -13715,6 +14065,7 @@ export declare const interrupt: Effect<never>;
13715
14065
  * await Effect.runPromise(program) // => Option.none()
13716
14066
  * ```
13717
14067
  *
14068
+ * @stability stable
13718
14069
  * @category interruption
13719
14070
  * @since 2.0.0
13720
14071
  */
@@ -13740,6 +14091,7 @@ export declare const interruptible: <A, E, R>(self: Effect<A, E, R>) => Effect<A
13740
14091
  * output // => ["Task was interrupted, cleaning up..."]
13741
14092
  * ```
13742
14093
  *
14094
+ * @stability stable
13743
14095
  * @category interruption
13744
14096
  * @since 2.0.0
13745
14097
  */
@@ -13765,6 +14117,7 @@ export declare const onInterrupt: {
13765
14117
  * output // => ["Task was interrupted, cleaning up..."]
13766
14118
  * ```
13767
14119
  *
14120
+ * @stability stable
13768
14121
  * @category interruption
13769
14122
  * @since 2.0.0
13770
14123
  */
@@ -13790,6 +14143,7 @@ export declare const onInterrupt: {
13790
14143
  * output // => ["Task was interrupted, cleaning up..."]
13791
14144
  * ```
13792
14145
  *
14146
+ * @stability stable
13793
14147
  * @category interruption
13794
14148
  * @since 2.0.0
13795
14149
  */
@@ -13815,6 +14169,7 @@ export declare const onInterrupt: {
13815
14169
  * output // => ["Starting critical section...", "Critical section completed"]
13816
14170
  * ```
13817
14171
  *
14172
+ * @stability stable
13818
14173
  * @category interruption
13819
14174
  * @since 2.0.0
13820
14175
  */
@@ -13847,6 +14202,7 @@ export declare const uninterruptible: <A, E, R>(self: Effect<A, E, R>) => Effect
13847
14202
  * output // => ["Uninterruptible phase...", "Interruptible phase...", "Back to uninterruptible"]
13848
14203
  * ```
13849
14204
  *
14205
+ * @stability stable
13850
14206
  * @category interruption
13851
14207
  * @since 2.0.0
13852
14208
  */
@@ -13879,6 +14235,7 @@ export declare const uninterruptibleMask: <A, E, R>(f: (restore: <AX, EX, RX>(ef
13879
14235
  * output // => ["Interruptible phase...", "Uninterruptible phase...", "Back to interruptible"]
13880
14236
  * ```
13881
14237
  *
14238
+ * @stability stable
13882
14239
  * @category interruption
13883
14240
  * @since 2.0.0
13884
14241
  */
@@ -13904,6 +14261,7 @@ export declare const interruptibleMask: <A, E, R>(f: (restore: <AX, EX, RX>(effe
13904
14261
  *
13905
14262
  * @see {@link scoped} for binding resource lifetime to a scope
13906
14263
  *
14264
+ * @stability stable
13907
14265
  * @category interruption
13908
14266
  * @since 4.0.0
13909
14267
  */
@@ -13911,6 +14269,7 @@ export declare const abortSignal: Effect<AbortSignal, never, Scope>;
13911
14269
  /**
13912
14270
  * Type helpers for repeating effects.
13913
14271
  *
14272
+ * @stability stable
13914
14273
  * @category repetition
13915
14274
  * @since 2.0.0
13916
14275
  */
@@ -13963,6 +14322,7 @@ export declare namespace Repeat {
13963
14322
  * await Effect.runPromise(program) // => Option.none()
13964
14323
  * ```
13965
14324
  *
14325
+ * @stability stable
13966
14326
  * @category repetition
13967
14327
  * @since 2.0.0
13968
14328
  */
@@ -14050,6 +14410,7 @@ export declare const forever: <Arg extends Effect<any, any, any> | {
14050
14410
  * @see {@link retry} for failure-based repetition
14051
14411
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14052
14412
  *
14413
+ * @stability stable
14053
14414
  * @category repetition
14054
14415
  * @since 2.0.0
14055
14416
  */
@@ -14131,6 +14492,7 @@ export declare const repeat: {
14131
14492
  * @see {@link retry} for failure-based repetition
14132
14493
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14133
14494
  *
14495
+ * @stability stable
14134
14496
  * @category repetition
14135
14497
  * @since 2.0.0
14136
14498
  */
@@ -14212,6 +14574,7 @@ export declare const repeat: {
14212
14574
  * @see {@link retry} for failure-based repetition
14213
14575
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14214
14576
  *
14577
+ * @stability stable
14215
14578
  * @category repetition
14216
14579
  * @since 2.0.0
14217
14580
  */
@@ -14293,6 +14656,7 @@ export declare const repeat: {
14293
14656
  * @see {@link retry} for failure-based repetition
14294
14657
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14295
14658
  *
14659
+ * @stability stable
14296
14660
  * @category repetition
14297
14661
  * @since 2.0.0
14298
14662
  */
@@ -14374,6 +14738,7 @@ export declare const repeat: {
14374
14738
  * @see {@link retry} for failure-based repetition
14375
14739
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14376
14740
  *
14741
+ * @stability stable
14377
14742
  * @category repetition
14378
14743
  * @since 2.0.0
14379
14744
  */
@@ -14455,6 +14820,7 @@ export declare const repeat: {
14455
14820
  * @see {@link retry} for failure-based repetition
14456
14821
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14457
14822
  *
14823
+ * @stability stable
14458
14824
  * @category repetition
14459
14825
  * @since 2.0.0
14460
14826
  */
@@ -14536,6 +14902,7 @@ export declare const repeat: {
14536
14902
  * @see {@link retry} for failure-based repetition
14537
14903
  * @see {@link repeatOrElse} for fallback handling when repetition fails
14538
14904
  *
14905
+ * @stability stable
14539
14906
  * @category repetition
14540
14907
  * @since 2.0.0
14541
14908
  */
@@ -14589,6 +14956,7 @@ export declare const repeat: {
14589
14956
  * output // => ["Attempt 1 failed", "Final failure: Error 1, after 0 attempts", 0]
14590
14957
  * ```
14591
14958
  *
14959
+ * @stability stable
14592
14960
  * @category repetition
14593
14961
  * @since 2.0.0
14594
14962
  */
@@ -14641,6 +15009,7 @@ export declare const repeatOrElse: {
14641
15009
  * output // => ["Attempt 1 failed", "Final failure: Error 1, after 0 attempts", 0]
14642
15010
  * ```
14643
15011
  *
15012
+ * @stability stable
14644
15013
  * @category repetition
14645
15014
  * @since 2.0.0
14646
15015
  */
@@ -14693,6 +15062,7 @@ export declare const repeatOrElse: {
14693
15062
  * output // => ["Attempt 1 failed", "Final failure: Error 1, after 0 attempts", 0]
14694
15063
  * ```
14695
15064
  *
15065
+ * @stability stable
14696
15066
  * @category repetition
14697
15067
  * @since 2.0.0
14698
15068
  */
@@ -14713,6 +15083,7 @@ export declare const repeatOrElse: {
14713
15083
  * @see {@link all} for running the returned effects and collecting results
14714
15084
  * @see {@link replicateEffect} for repeating an effect and collecting results in one step with concurrency and discard options
14715
15085
  *
15086
+ * @stability stable
14716
15087
  * @category repetition
14717
15088
  * @since 2.0.0
14718
15089
  */
@@ -14732,6 +15103,7 @@ export declare const replicate: {
14732
15103
  * @see {@link all} for running the returned effects and collecting results
14733
15104
  * @see {@link replicateEffect} for repeating an effect and collecting results in one step with concurrency and discard options
14734
15105
  *
15106
+ * @stability stable
14735
15107
  * @category repetition
14736
15108
  * @since 2.0.0
14737
15109
  */
@@ -14751,6 +15123,7 @@ export declare const replicate: {
14751
15123
  * @see {@link all} for running the returned effects and collecting results
14752
15124
  * @see {@link replicateEffect} for repeating an effect and collecting results in one step with concurrency and discard options
14753
15125
  *
15126
+ * @stability stable
14754
15127
  * @category repetition
14755
15128
  * @since 2.0.0
14756
15129
  */
@@ -14783,6 +15156,7 @@ export declare const replicate: {
14783
15156
  * output // => [[1, 1, 1]]
14784
15157
  * ```
14785
15158
  *
15159
+ * @stability stable
14786
15160
  * @category repetition
14787
15161
  * @since 2.0.0
14788
15162
  */
@@ -14814,6 +15188,7 @@ export declare const replicateEffect: {
14814
15188
  * output // => [[1, 1, 1]]
14815
15189
  * ```
14816
15190
  *
15191
+ * @stability stable
14817
15192
  * @category repetition
14818
15193
  * @since 2.0.0
14819
15194
  */
@@ -14848,6 +15223,7 @@ export declare const replicateEffect: {
14848
15223
  * output // => [[1, 1, 1]]
14849
15224
  * ```
14850
15225
  *
15226
+ * @stability stable
14851
15227
  * @category repetition
14852
15228
  * @since 2.0.0
14853
15229
  */
@@ -14882,6 +15258,7 @@ export declare const replicateEffect: {
14882
15258
  * output // => [[1, 1, 1]]
14883
15259
  * ```
14884
15260
  *
15261
+ * @stability stable
14885
15262
  * @category repetition
14886
15263
  * @since 2.0.0
14887
15264
  */
@@ -14916,6 +15293,7 @@ export declare const replicateEffect: {
14916
15293
  * output // => [[1, 1, 1]]
14917
15294
  * ```
14918
15295
  *
15296
+ * @stability stable
14919
15297
  * @category repetition
14920
15298
  * @since 2.0.0
14921
15299
  */
@@ -14961,6 +15339,7 @@ export declare const replicateEffect: {
14961
15339
  * @see {@link scheduleFrom} for a variant that allows the schedule's decision
14962
15340
  * to depend on the result of this effect.
14963
15341
  *
15342
+ * @stability stable
14964
15343
  * @category repetition
14965
15344
  * @since 2.0.0
14966
15345
  */
@@ -15002,6 +15381,7 @@ export declare const schedule: {
15002
15381
  * @see {@link scheduleFrom} for a variant that allows the schedule's decision
15003
15382
  * to depend on the result of this effect.
15004
15383
  *
15384
+ * @stability stable
15005
15385
  * @category repetition
15006
15386
  * @since 2.0.0
15007
15387
  */
@@ -15043,6 +15423,7 @@ export declare const schedule: {
15043
15423
  * @see {@link scheduleFrom} for a variant that allows the schedule's decision
15044
15424
  * to depend on the result of this effect.
15045
15425
  *
15426
+ * @stability stable
15046
15427
  * @category repetition
15047
15428
  * @since 2.0.0
15048
15429
  */
@@ -15083,6 +15464,7 @@ export declare const schedule: {
15083
15464
  * output // => ["Processing: 0", "Processing: 0", 2]
15084
15465
  * ```
15085
15466
  *
15467
+ * @stability stable
15086
15468
  * @category repetition
15087
15469
  * @since 2.0.0
15088
15470
  */
@@ -15122,6 +15504,7 @@ export declare const scheduleFrom: {
15122
15504
  * output // => ["Processing: 0", "Processing: 0", 2]
15123
15505
  * ```
15124
15506
  *
15507
+ * @stability stable
15125
15508
  * @category repetition
15126
15509
  * @since 2.0.0
15127
15510
  */
@@ -15161,6 +15544,7 @@ export declare const scheduleFrom: {
15161
15544
  * output // => ["Processing: 0", "Processing: 0", 2]
15162
15545
  * ```
15163
15546
  *
15547
+ * @stability stable
15164
15548
  * @category repetition
15165
15549
  * @since 2.0.0
15166
15550
  */
@@ -15182,6 +15566,7 @@ export declare const scheduleFrom: {
15182
15566
  * Effect.runSync(program) // => "function"
15183
15567
  * ```
15184
15568
  *
15569
+ * @stability stable
15185
15570
  * @category tracing
15186
15571
  * @since 2.0.0
15187
15572
  */
@@ -15202,6 +15587,7 @@ export declare const tracer: Effect<Tracer>;
15202
15587
  * Effect.runSync(program) // => "completed"
15203
15588
  * ```
15204
15589
  *
15590
+ * @stability stable
15205
15591
  * @category tracing
15206
15592
  * @since 2.0.0
15207
15593
  */
@@ -15222,6 +15608,7 @@ export declare const withTracer: {
15222
15608
  * Effect.runSync(program) // => "completed"
15223
15609
  * ```
15224
15610
  *
15611
+ * @stability stable
15225
15612
  * @category tracing
15226
15613
  * @since 2.0.0
15227
15614
  */
@@ -15242,6 +15629,7 @@ export declare const withTracer: {
15242
15629
  * Effect.runSync(program) // => "completed"
15243
15630
  * ```
15244
15631
  *
15632
+ * @stability stable
15245
15633
  * @category tracing
15246
15634
  * @since 2.0.0
15247
15635
  */
@@ -15268,6 +15656,7 @@ export declare const withTracer: {
15268
15656
  * Effect.runSync(program) // => 42
15269
15657
  * ```
15270
15658
  *
15659
+ * @stability stable
15271
15660
  * @category tracing
15272
15661
  * @since 2.0.0
15273
15662
  */
@@ -15293,6 +15682,7 @@ export declare const withTracerEnabled: {
15293
15682
  * Effect.runSync(program) // => 42
15294
15683
  * ```
15295
15684
  *
15685
+ * @stability stable
15296
15686
  * @category tracing
15297
15687
  * @since 2.0.0
15298
15688
  */
@@ -15318,6 +15708,7 @@ export declare const withTracerEnabled: {
15318
15708
  * Effect.runSync(program) // => 42
15319
15709
  * ```
15320
15710
  *
15711
+ * @stability stable
15321
15712
  * @category tracing
15322
15713
  * @since 2.0.0
15323
15714
  */
@@ -15339,6 +15730,7 @@ export declare const withTracerEnabled: {
15339
15730
  * Effect.runSync(program) // => 42
15340
15731
  * ```
15341
15732
  *
15733
+ * @stability stable
15342
15734
  * @category tracing
15343
15735
  * @since 2.0.0
15344
15736
  */
@@ -15359,6 +15751,7 @@ export declare const withTracerTiming: {
15359
15751
  * Effect.runSync(program) // => 42
15360
15752
  * ```
15361
15753
  *
15754
+ * @stability stable
15362
15755
  * @category tracing
15363
15756
  * @since 2.0.0
15364
15757
  */
@@ -15379,6 +15772,7 @@ export declare const withTracerTiming: {
15379
15772
  * Effect.runSync(program) // => 42
15380
15773
  * ```
15381
15774
  *
15775
+ * @stability stable
15382
15776
  * @category tracing
15383
15777
  * @since 2.0.0
15384
15778
  */
@@ -15407,6 +15801,7 @@ export declare const withTracerTiming: {
15407
15801
  * Effect.runSync(Effect.all([annotated1, annotated2])) // => ['result', 'result']
15408
15802
  * ```
15409
15803
  *
15804
+ * @stability stable
15410
15805
  * @category tracing
15411
15806
  * @since 2.0.0
15412
15807
  */
@@ -15434,6 +15829,7 @@ export declare const annotateSpans: {
15434
15829
  * Effect.runSync(Effect.all([annotated1, annotated2])) // => ['result', 'result']
15435
15830
  * ```
15436
15831
  *
15832
+ * @stability stable
15437
15833
  * @category tracing
15438
15834
  * @since 2.0.0
15439
15835
  */
@@ -15461,6 +15857,7 @@ export declare const annotateSpans: {
15461
15857
  * Effect.runSync(Effect.all([annotated1, annotated2])) // => ['result', 'result']
15462
15858
  * ```
15463
15859
  *
15860
+ * @stability stable
15464
15861
  * @category tracing
15465
15862
  * @since 2.0.0
15466
15863
  */
@@ -15488,6 +15885,7 @@ export declare const annotateSpans: {
15488
15885
  * Effect.runSync(Effect.all([annotated1, annotated2])) // => ['result', 'result']
15489
15886
  * ```
15490
15887
  *
15888
+ * @stability stable
15491
15889
  * @category tracing
15492
15890
  * @since 2.0.0
15493
15891
  */
@@ -15515,6 +15913,7 @@ export declare const annotateSpans: {
15515
15913
  * Effect.runSync(Effect.all([annotated1, annotated2])) // => ['result', 'result']
15516
15914
  * ```
15517
15915
  *
15916
+ * @stability stable
15518
15917
  * @category tracing
15519
15918
  * @since 2.0.0
15520
15919
  */
@@ -15540,6 +15939,7 @@ export declare const annotateSpans: {
15540
15939
  * Effect.runSync(traced) // => "success"
15541
15940
  * ```
15542
15941
  *
15942
+ * @stability stable
15543
15943
  * @category tracing
15544
15944
  * @since 2.0.0
15545
15945
  */
@@ -15564,6 +15964,7 @@ export declare const annotateCurrentSpan: {
15564
15964
  * Effect.runSync(traced) // => "success"
15565
15965
  * ```
15566
15966
  *
15967
+ * @stability stable
15567
15968
  * @category tracing
15568
15969
  * @since 2.0.0
15569
15970
  */
@@ -15588,6 +15989,7 @@ export declare const annotateCurrentSpan: {
15588
15989
  * Effect.runSync(traced) // => "success"
15589
15990
  * ```
15590
15991
  *
15992
+ * @stability stable
15591
15993
  * @category tracing
15592
15994
  * @since 2.0.0
15593
15995
  */
@@ -15615,6 +16017,7 @@ export declare const annotateCurrentSpan: {
15615
16017
  * Effect.runSync(traced) // => "my-span"
15616
16018
  * ```
15617
16019
  *
16020
+ * @stability stable
15618
16021
  * @category tracing
15619
16022
  * @since 2.0.0
15620
16023
  */
@@ -15644,6 +16047,7 @@ export declare const currentSpan: Effect<Span, Cause.NoSuchElementError>;
15644
16047
  * Effect.runSync(traced) // => "Span"
15645
16048
  * ```
15646
16049
  *
16050
+ * @stability stable
15647
16051
  * @category tracing
15648
16052
  * @since 2.0.0
15649
16053
  */
@@ -15669,6 +16073,7 @@ export declare const currentParentSpan: Effect<AnySpan, Cause.NoSuchElementError
15669
16073
  * Effect.runSync(program) // => { userId: '123', operation: 'data-processing' }
15670
16074
  * ```
15671
16075
  *
16076
+ * @stability stable
15672
16077
  * @category tracing
15673
16078
  * @since 2.0.0
15674
16079
  */
@@ -15695,6 +16100,7 @@ export declare const spanAnnotations: Effect<Readonly<Record<string, unknown>>>;
15695
16100
  * Effect.runSync(program).length // => 0
15696
16101
  * ```
15697
16102
  *
16103
+ * @stability stable
15698
16104
  * @category tracing
15699
16105
  * @since 2.0.0
15700
16106
  */
@@ -15743,6 +16149,7 @@ export declare const spanLinks: Effect<ReadonlyArray<SpanLink>>;
15743
16149
  * Effect.runSync(program).length // => 2
15744
16150
  * ```
15745
16151
  *
16152
+ * @stability stable
15746
16153
  * @category tracing
15747
16154
  * @since 2.0.0
15748
16155
  */
@@ -15791,6 +16198,7 @@ export declare const linkSpans: {
15791
16198
  * Effect.runSync(program).length // => 2
15792
16199
  * ```
15793
16200
  *
16201
+ * @stability stable
15794
16202
  * @category tracing
15795
16203
  * @since 2.0.0
15796
16204
  */
@@ -15839,6 +16247,7 @@ export declare const linkSpans: {
15839
16247
  * Effect.runSync(program).length // => 2
15840
16248
  * ```
15841
16249
  *
16250
+ * @stability stable
15842
16251
  * @category tracing
15843
16252
  * @since 2.0.0
15844
16253
  */
@@ -15866,6 +16275,7 @@ export declare const linkSpans: {
15866
16275
  * Effect.runSync(program) // => "my-operation"
15867
16276
  * ```
15868
16277
  *
16278
+ * @stability stable
15869
16279
  * @category tracing
15870
16280
  * @since 2.0.0
15871
16281
  */
@@ -15895,6 +16305,7 @@ export declare const makeSpan: (name: string, options?: SpanOptionsNoTrace) => E
15895
16305
  * Effect.runSync(program) // => "scoped-operation"
15896
16306
  * ```
15897
16307
  *
16308
+ * @stability stable
15898
16309
  * @category tracing
15899
16310
  * @since 2.0.0
15900
16311
  */
@@ -15920,6 +16331,7 @@ export declare const makeSpanScoped: (name: string, options?: SpanOptionsNoTrace
15920
16331
  * Effect.runSync(program) // => "user-operation: success"
15921
16332
  * ```
15922
16333
  *
16334
+ * @stability stable
15923
16335
  * @category tracing
15924
16336
  * @since 2.0.0
15925
16337
  */
@@ -15945,6 +16357,7 @@ export declare const useSpan: {
15945
16357
  * Effect.runSync(program) // => "user-operation: success"
15946
16358
  * ```
15947
16359
  *
16360
+ * @stability stable
15948
16361
  * @category tracing
15949
16362
  * @since 2.0.0
15950
16363
  */
@@ -15970,6 +16383,7 @@ export declare const useSpan: {
15970
16383
  * Effect.runSync(program) // => "user-operation: success"
15971
16384
  * ```
15972
16385
  *
16386
+ * @stability stable
15973
16387
  * @category tracing
15974
16388
  * @since 2.0.0
15975
16389
  */
@@ -15991,6 +16405,7 @@ export declare const useSpan: {
15991
16405
  * Effect.runSync(traced) // => "result"
15992
16406
  * ```
15993
16407
  *
16408
+ * @stability stable
15994
16409
  * @category tracing
15995
16410
  * @since 2.0.0
15996
16411
  */
@@ -16011,6 +16426,7 @@ export declare const withSpan: {
16011
16426
  * Effect.runSync(traced) // => "result"
16012
16427
  * ```
16013
16428
  *
16429
+ * @stability stable
16014
16430
  * @category tracing
16015
16431
  * @since 2.0.0
16016
16432
  */
@@ -16031,6 +16447,7 @@ export declare const withSpan: {
16031
16447
  * Effect.runSync(traced) // => "result"
16032
16448
  * ```
16033
16449
  *
16450
+ * @stability stable
16034
16451
  * @category tracing
16035
16452
  * @since 2.0.0
16036
16453
  */
@@ -16058,6 +16475,7 @@ export declare const withSpan: {
16058
16475
  * Effect.runSync(program) // => "completed"
16059
16476
  * ```
16060
16477
  *
16478
+ * @stability stable
16061
16479
  * @category tracing
16062
16480
  * @since 2.0.0
16063
16481
  */
@@ -16084,6 +16502,7 @@ export declare const withSpanScoped: {
16084
16502
  * Effect.runSync(program) // => "completed"
16085
16503
  * ```
16086
16504
  *
16505
+ * @stability stable
16087
16506
  * @category tracing
16088
16507
  * @since 2.0.0
16089
16508
  */
@@ -16110,6 +16529,7 @@ export declare const withSpanScoped: {
16110
16529
  * Effect.runSync(program) // => "completed"
16111
16530
  * ```
16112
16531
  *
16532
+ * @stability stable
16113
16533
  * @category tracing
16114
16534
  * @since 2.0.0
16115
16535
  */
@@ -16132,6 +16552,7 @@ export declare const withSpanScoped: {
16132
16552
  * Effect.runSync(program) // => "completed"
16133
16553
  * ```
16134
16554
  *
16555
+ * @stability stable
16135
16556
  * @category tracing
16136
16557
  * @since 2.0.0
16137
16558
  */
@@ -16153,6 +16574,7 @@ export declare const withParentSpan: {
16153
16574
  * Effect.runSync(program) // => "completed"
16154
16575
  * ```
16155
16576
  *
16577
+ * @stability stable
16156
16578
  * @category tracing
16157
16579
  * @since 2.0.0
16158
16580
  */
@@ -16174,6 +16596,7 @@ export declare const withParentSpan: {
16174
16596
  * Effect.runSync(program) // => "completed"
16175
16597
  * ```
16176
16598
  *
16599
+ * @stability stable
16177
16600
  * @category tracing
16178
16601
  * @since 2.0.0
16179
16602
  */
@@ -16217,6 +16640,7 @@ export declare const withParentSpan: {
16217
16640
  *
16218
16641
  * @see {@link requestUnsafe} for the low-level entry point when you already have a `Context` and need to enqueue outside an `Effect`
16219
16642
  *
16643
+ * @stability stable
16220
16644
  * @category running
16221
16645
  * @since 2.0.0
16222
16646
  */
@@ -16259,6 +16683,7 @@ export declare const request: {
16259
16683
  *
16260
16684
  * @see {@link requestUnsafe} for the low-level entry point when you already have a `Context` and need to enqueue outside an `Effect`
16261
16685
  *
16686
+ * @stability stable
16262
16687
  * @category running
16263
16688
  * @since 2.0.0
16264
16689
  */
@@ -16301,6 +16726,7 @@ export declare const request: {
16301
16726
  *
16302
16727
  * @see {@link requestUnsafe} for the low-level entry point when you already have a `Context` and need to enqueue outside an `Effect`
16303
16728
  *
16729
+ * @stability stable
16304
16730
  * @category running
16305
16731
  * @since 2.0.0
16306
16732
  */
@@ -16320,6 +16746,7 @@ export declare const request: {
16320
16746
  *
16321
16747
  * @see {@link request} for the `Effect`-returning API used for normal request execution
16322
16748
  *
16749
+ * @stability stable
16323
16750
  * @category unsafe
16324
16751
  * @since 4.0.0
16325
16752
  */
@@ -16367,6 +16794,7 @@ export declare const requestUnsafe: <A extends Request.Any>(self: A, options: {
16367
16794
  * await Effect.runPromise(program) // => "result"
16368
16795
  * ```
16369
16796
  *
16797
+ * @stability stable
16370
16798
  * @category forking
16371
16799
  * @since 4.0.0
16372
16800
  */
@@ -16403,6 +16831,7 @@ export declare const forkChild: <Arg extends Effect<any, any, any> | {
16403
16831
  * await Effect.runPromise(program) // => "done"
16404
16832
  * ```
16405
16833
  *
16834
+ * @stability stable
16406
16835
  * @category forking
16407
16836
  * @since 2.0.0
16408
16837
  */
@@ -16430,6 +16859,7 @@ export declare const forkIn: {
16430
16859
  * await Effect.runPromise(program) // => "done"
16431
16860
  * ```
16432
16861
  *
16862
+ * @stability stable
16433
16863
  * @category forking
16434
16864
  * @since 2.0.0
16435
16865
  */
@@ -16460,6 +16890,7 @@ export declare const forkIn: {
16460
16890
  * await Effect.runPromise(program) // => "done"
16461
16891
  * ```
16462
16892
  *
16893
+ * @stability stable
16463
16894
  * @category forking
16464
16895
  * @since 2.0.0
16465
16896
  */
@@ -16490,6 +16921,7 @@ export declare const forkIn: {
16490
16921
  * await Effect.runPromise(program) // => "scope completed"
16491
16922
  * ```
16492
16923
  *
16924
+ * @stability stable
16493
16925
  * @category forking
16494
16926
  * @since 2.0.0
16495
16927
  */
@@ -16523,6 +16955,7 @@ export declare const forkScoped: <Arg extends Effect<any, any, any> | {
16523
16955
  * await Effect.runPromise(program) // => "daemon result"
16524
16956
  * ```
16525
16957
  *
16958
+ * @stability stable
16526
16959
  * @category forking
16527
16960
  * @since 4.0.0
16528
16961
  */
@@ -16559,6 +16992,7 @@ export declare const forkDetach: <Arg extends Effect<any, any, any> | {
16559
16992
  * @see {@link forkIn} for forking into an explicit scope
16560
16993
  * @see {@link forkScoped} for forking fibers tied to the current scope
16561
16994
  *
16995
+ * @stability stable
16562
16996
  * @category forking
16563
16997
  * @since 2.0.0
16564
16998
  */
@@ -16581,6 +17015,7 @@ export declare const awaitAllChildren: <A, E, R>(self: Effect<A, E, R>) => Effec
16581
17015
  * output // => ["number"]
16582
17016
  * ```
16583
17017
  *
17018
+ * @stability stable
16584
17019
  * @category accessors
16585
17020
  * @since 4.0.0
16586
17021
  */
@@ -16597,6 +17032,7 @@ export declare const fiber: Effect<Fiber<unknown, unknown>>;
16597
17032
  * Effect.runSync(program) // => "number"
16598
17033
  * ```
16599
17034
  *
17035
+ * @stability stable
16600
17036
  * @category accessors
16601
17037
  * @since 2.0.0
16602
17038
  */
@@ -16621,6 +17057,7 @@ export declare const fiberId: Effect<number>;
16621
17057
  * @see {@link runPromise} for promise-based running with these options
16622
17058
  * @see {@link runPromiseExit} for promise-based running that returns an `Exit`
16623
17059
  *
17060
+ * @stability stable
16624
17061
  * @category running
16625
17062
  * @since 4.0.0
16626
17063
  */
@@ -16656,6 +17093,7 @@ export interface RunOptions {
16656
17093
  * output // => ["running...", "done"]
16657
17094
  * ```
16658
17095
  *
17096
+ * @stability stable
16659
17097
  * @category running
16660
17098
  * @since 2.0.0
16661
17099
  */
@@ -16695,6 +17133,7 @@ export declare const runFork: <A, E>(effect: Effect<A, E, never>, options?: RunO
16695
17133
  * output // => ["Hello from service!", "done"]
16696
17134
  * ```
16697
17135
  *
17136
+ * @stability stable
16698
17137
  * @category running
16699
17138
  * @since 4.0.0
16700
17139
  */
@@ -16744,6 +17183,7 @@ export declare const runForkWith: <R>(context: Context.Context<R>) => <A, E>(eff
16744
17183
  * output // => ["Started", "Success"]
16745
17184
  * ```
16746
17185
  *
17186
+ * @stability stable
16747
17187
  * @category running
16748
17188
  * @since 4.0.0
16749
17189
  */
@@ -16787,6 +17227,7 @@ export declare const runCallbackWith: <R>(context: Context.Context<R>) => <A, E>
16787
17227
  * output // => ["working", "success: done"]
16788
17228
  * ```
16789
17229
  *
17230
+ * @stability stable
16790
17231
  * @category running
16791
17232
  * @since 2.0.0
16792
17233
  */
@@ -16827,6 +17268,7 @@ export declare const runCallback: <A, E>(effect: Effect<A, E, never>, options?:
16827
17268
  * ```
16828
17269
  *
16829
17270
  * @see {@link runPromiseExit} for a version that returns an `Exit` type instead of rejecting.
17271
+ * @stability stable
16830
17272
  * @category running
16831
17273
  * @since 2.0.0
16832
17274
  */
@@ -16862,6 +17304,7 @@ export declare const runPromise: <A, E>(effect: Effect<A, E>, options?: RunOptio
16862
17304
  * await Effect.runPromiseWith(context)(program) // => "Connecting to https://api.example.com"
16863
17305
  * ```
16864
17306
  *
17307
+ * @stability stable
16865
17308
  * @category running
16866
17309
  * @since 4.0.0
16867
17310
  */
@@ -16895,6 +17338,7 @@ export declare const runPromiseWith: <R>(context: Context.Context<R>) => <A, E>(
16895
17338
  *
16896
17339
  * @see {@link runPromise} for a version that rejects on failure.
16897
17340
  *
17341
+ * @stability stable
16898
17342
  * @category running
16899
17343
  * @since 2.0.0
16900
17344
  */
@@ -16935,6 +17379,7 @@ export declare const runPromiseExit: <A, E>(effect: Effect<A, E>, options?: RunO
16935
17379
  * output // => ["Success: Result for: SELECT * FROM users"]
16936
17380
  * ```
16937
17381
  *
17382
+ * @stability stable
16938
17383
  * @category running
16939
17384
  * @since 4.0.0
16940
17385
  */
@@ -16992,6 +17437,7 @@ export declare const runPromiseExitWith: <R>(context: Context.Context<R>) => <A,
16992
17437
  *
16993
17438
  * @see {@link runSyncExit} for a version that returns an `Exit` type instead of
16994
17439
  * throwing an error.
17440
+ * @stability stable
16995
17441
  * @category running
16996
17442
  * @since 2.0.0
16997
17443
  */
@@ -17028,6 +17474,7 @@ export declare const runSync: <A, E>(effect: Effect<A, E>) => A;
17028
17474
  * result // => 5
17029
17475
  * ```
17030
17476
  *
17477
+ * @stability stable
17031
17478
  * @category running
17032
17479
  * @since 4.0.0
17033
17480
  */
@@ -17076,6 +17523,7 @@ export declare const runSyncWith: <R>(context: Context.Context<R>) => <A, E>(eff
17076
17523
  *
17077
17524
  * @see {@link runSync} for a version that throws on failure.
17078
17525
  *
17526
+ * @stability stable
17079
17527
  * @category running
17080
17528
  * @since 2.0.0
17081
17529
  */
@@ -17120,6 +17568,7 @@ export declare const runSyncExit: <A, E>(effect: Effect<A, E>) => Exit.Exit<A, E
17120
17568
  * output // => ["[LOG] Computing result...", "Success: 42"]
17121
17569
  * ```
17122
17570
  *
17571
+ * @stability stable
17123
17572
  * @category running
17124
17573
  * @since 4.0.0
17125
17574
  */
@@ -17131,6 +17580,7 @@ export declare const runSyncExitWith: <R>(context: Context.Context<R>) => <A, E>
17131
17580
  *
17132
17581
  * Use these to describe generator-based signatures and traced or untraced variants.
17133
17582
  *
17583
+ * @stability stable
17134
17584
  * @category constructors
17135
17585
  * @since 3.11.0
17136
17586
  */
@@ -17856,6 +18306,7 @@ export declare namespace fn {
17856
18306
  * Effect.runSync(program) // => "hello"
17857
18307
  * ```
17858
18308
  *
18309
+ * @stability stable
17859
18310
  * @category constructors
17860
18311
  * @since 3.12.0
17861
18312
  */
@@ -17979,6 +18430,7 @@ export declare const fnUntraced: fn.Untraced;
17979
18430
  * Effect.runSync(program) // => "hello"
17980
18431
  * ```
17981
18432
  *
18433
+ * @stability stable
17982
18434
  * @category constructors
17983
18435
  * @since 3.11.0
17984
18436
  */
@@ -18003,6 +18455,7 @@ export declare const fn: fn.Traced & {
18003
18455
  * Effect.runSync(program) // => "Clock is available"
18004
18456
  * ```
18005
18457
  *
18458
+ * @stability stable
18006
18459
  * @category accessors
18007
18460
  * @since 2.0.0
18008
18461
  */
@@ -18037,6 +18490,7 @@ export declare const clockWith: <A, E, R>(f: (clock: Clock) => Effect<A, E, R>)
18037
18490
  * output // => ["Warn: Cache miss"]
18038
18491
  * ```
18039
18492
  *
18493
+ * @stability stable
18040
18494
  * @category logging
18041
18495
  * @since 2.0.0
18042
18496
  */
@@ -18064,6 +18518,7 @@ export declare const logWithLevel: (level?: Severity) => (...message: ReadonlyAr
18064
18518
  * output // => ["Info: Result: 4", 4]
18065
18519
  * ```
18066
18520
  *
18521
+ * @stability stable
18067
18522
  * @category logging
18068
18523
  * @since 2.0.0
18069
18524
  */
@@ -18089,6 +18544,7 @@ export declare const log: (...message: ReadonlyArray<any>) => Effect<void>;
18089
18544
  * output // => ["Fatal: Critical system failure"]
18090
18545
  * ```
18091
18546
  *
18547
+ * @stability stable
18092
18548
  * @category logging
18093
18549
  * @since 2.0.0
18094
18550
  */
@@ -18113,6 +18569,7 @@ export declare const logFatal: (...message: ReadonlyArray<any>) => Effect<void>;
18113
18569
  * output // => ["Warn: API rate limit approaching"]
18114
18570
  * ```
18115
18571
  *
18572
+ * @stability stable
18116
18573
  * @category logging
18117
18574
  * @since 2.0.0
18118
18575
  */
@@ -18137,6 +18594,7 @@ export declare const logWarning: (...message: ReadonlyArray<any>) => Effect<void
18137
18594
  * output // => ["Error: Database connection failed"]
18138
18595
  * ```
18139
18596
  *
18597
+ * @stability stable
18140
18598
  * @category logging
18141
18599
  * @since 2.0.0
18142
18600
  */
@@ -18161,6 +18619,7 @@ export declare const logError: (...message: ReadonlyArray<any>) => Effect<void>;
18161
18619
  * output // => ["Info: Application starting up"]
18162
18620
  * ```
18163
18621
  *
18622
+ * @stability stable
18164
18623
  * @category logging
18165
18624
  * @since 2.0.0
18166
18625
  */
@@ -18189,6 +18648,7 @@ export declare const logInfo: (...message: ReadonlyArray<any>) => Effect<void>;
18189
18648
  * output // => ["Debug: Debug mode enabled"]
18190
18649
  * ```
18191
18650
  *
18651
+ * @stability stable
18192
18652
  * @category logging
18193
18653
  * @since 2.0.0
18194
18654
  */
@@ -18217,6 +18677,7 @@ export declare const logDebug: (...message: ReadonlyArray<any>) => Effect<void>;
18217
18677
  * output // => ["Trace: Entering function processData"]
18218
18678
  * ```
18219
18679
  *
18680
+ * @stability stable
18220
18681
  * @category logging
18221
18682
  * @since 2.0.0
18222
18683
  */
@@ -18247,6 +18708,7 @@ export declare const logTrace: (...message: ReadonlyArray<any>) => Effect<void>;
18247
18708
  * output // => ["[CUSTOM]: This will go to both default and custom logger"]
18248
18709
  * ```
18249
18710
  *
18711
+ * @stability stable
18250
18712
  * @category logging
18251
18713
  * @since 4.0.0
18252
18714
  */
@@ -18277,6 +18739,7 @@ export declare const withLogger: {
18277
18739
  * output // => ["[CUSTOM]: This will go to both default and custom logger"]
18278
18740
  * ```
18279
18741
  *
18742
+ * @stability stable
18280
18743
  * @category logging
18281
18744
  * @since 4.0.0
18282
18745
  */
@@ -18307,6 +18770,7 @@ export declare const withLogger: {
18307
18770
  * output // => ["[CUSTOM]: This will go to both default and custom logger"]
18308
18771
  * ```
18309
18772
  *
18773
+ * @stability stable
18310
18774
  * @category logging
18311
18775
  * @since 4.0.0
18312
18776
  */
@@ -18344,6 +18808,7 @@ export declare const withLogger: {
18344
18808
  * output // => ["Starting operation", "Starting operation"]
18345
18809
  * ```
18346
18810
  *
18811
+ * @stability stable
18347
18812
  * @category logging
18348
18813
  * @since 2.0.0
18349
18814
  */
@@ -18380,6 +18845,7 @@ export declare const annotateLogs: {
18380
18845
  * output // => ["Starting operation", "Starting operation"]
18381
18846
  * ```
18382
18847
  *
18848
+ * @stability stable
18383
18849
  * @category logging
18384
18850
  * @since 2.0.0
18385
18851
  */
@@ -18416,6 +18882,7 @@ export declare const annotateLogs: {
18416
18882
  * output // => ["Starting operation", "Starting operation"]
18417
18883
  * ```
18418
18884
  *
18885
+ * @stability stable
18419
18886
  * @category logging
18420
18887
  * @since 2.0.0
18421
18888
  */
@@ -18452,6 +18919,7 @@ export declare const annotateLogs: {
18452
18919
  * output // => ["Starting operation", "Starting operation"]
18453
18920
  * ```
18454
18921
  *
18922
+ * @stability stable
18455
18923
  * @category logging
18456
18924
  * @since 2.0.0
18457
18925
  */
@@ -18488,6 +18956,7 @@ export declare const annotateLogs: {
18488
18956
  * output // => ["Starting operation", "Starting operation"]
18489
18957
  * ```
18490
18958
  *
18959
+ * @stability stable
18491
18960
  * @category logging
18492
18961
  * @since 2.0.0
18493
18962
  */
@@ -18529,6 +18998,7 @@ export declare const annotateLogs: {
18529
18998
  *
18530
18999
  * @see {@link annotateLogs} for annotating one effect
18531
19000
  *
19001
+ * @stability stable
18532
19002
  * @category logging
18533
19003
  * @since 3.1.0
18534
19004
  */
@@ -18569,6 +19039,7 @@ export declare const annotateLogsScoped: {
18569
19039
  *
18570
19040
  * @see {@link annotateLogs} for annotating one effect
18571
19041
  *
19042
+ * @stability stable
18572
19043
  * @category logging
18573
19044
  * @since 3.1.0
18574
19045
  */
@@ -18609,6 +19080,7 @@ export declare const annotateLogsScoped: {
18609
19080
  *
18610
19081
  * @see {@link annotateLogs} for annotating one effect
18611
19082
  *
19083
+ * @stability stable
18612
19084
  * @category logging
18613
19085
  * @since 3.1.0
18614
19086
  */
@@ -18646,6 +19118,7 @@ export declare const annotateLogsScoped: {
18646
19118
  * output // => ["Making HTTP request", "Connecting to database", "Executing query", "Processing results", "Sending response", "data"]
18647
19119
  * ```
18648
19120
  *
19121
+ * @stability stable
18649
19122
  * @category logging
18650
19123
  * @since 2.0.0
18651
19124
  */
@@ -18682,6 +19155,7 @@ export declare const withLogSpan: {
18682
19155
  * output // => ["Making HTTP request", "Connecting to database", "Executing query", "Processing results", "Sending response", "data"]
18683
19156
  * ```
18684
19157
  *
19158
+ * @stability stable
18685
19159
  * @category logging
18686
19160
  * @since 2.0.0
18687
19161
  */
@@ -18718,6 +19192,7 @@ export declare const withLogSpan: {
18718
19192
  * output // => ["Making HTTP request", "Connecting to database", "Executing query", "Processing results", "Sending response", "data"]
18719
19193
  * ```
18720
19194
  *
19195
+ * @stability stable
18721
19196
  * @category logging
18722
19197
  * @since 2.0.0
18723
19198
  */
@@ -18766,6 +19241,7 @@ export declare const withLogSpan: {
18766
19241
  * Effect.runSync(Metric.value(exitTracker)).occurrences.get("success") // => 1
18767
19242
  * ```
18768
19243
  *
19244
+ * @stability stable
18769
19245
  * @category metrics
18770
19246
  * @since 4.0.0
18771
19247
  */
@@ -18813,6 +19289,7 @@ export declare const track: {
18813
19289
  * Effect.runSync(Metric.value(exitTracker)).occurrences.get("success") // => 1
18814
19290
  * ```
18815
19291
  *
19292
+ * @stability stable
18816
19293
  * @category metrics
18817
19294
  * @since 4.0.0
18818
19295
  */
@@ -18860,6 +19337,7 @@ export declare const track: {
18860
19337
  * Effect.runSync(Metric.value(exitTracker)).occurrences.get("success") // => 1
18861
19338
  * ```
18862
19339
  *
19340
+ * @stability stable
18863
19341
  * @category metrics
18864
19342
  * @since 4.0.0
18865
19343
  */
@@ -18907,6 +19385,7 @@ export declare const track: {
18907
19385
  * Effect.runSync(Metric.value(exitTracker)).occurrences.get("success") // => 1
18908
19386
  * ```
18909
19387
  *
19388
+ * @stability stable
18910
19389
  * @category metrics
18911
19390
  * @since 4.0.0
18912
19391
  */
@@ -18954,6 +19433,7 @@ export declare const track: {
18954
19433
  * Effect.runSync(Metric.value(exitTracker)).occurrences.get("success") // => 1
18955
19434
  * ```
18956
19435
  *
19436
+ * @stability stable
18957
19437
  * @category metrics
18958
19438
  * @since 4.0.0
18959
19439
  */
@@ -19001,6 +19481,7 @@ export declare const track: {
19001
19481
  * Effect.runSync(Metric.value(requestSizeGauge)).value // => 12
19002
19482
  * ```
19003
19483
  *
19484
+ * @stability stable
19004
19485
  * @category metrics
19005
19486
  * @since 4.0.0
19006
19487
  */
@@ -19047,6 +19528,7 @@ export declare const trackSuccesses: {
19047
19528
  * Effect.runSync(Metric.value(requestSizeGauge)).value // => 12
19048
19529
  * ```
19049
19530
  *
19531
+ * @stability stable
19050
19532
  * @category metrics
19051
19533
  * @since 4.0.0
19052
19534
  */
@@ -19093,6 +19575,7 @@ export declare const trackSuccesses: {
19093
19575
  * Effect.runSync(Metric.value(requestSizeGauge)).value // => 12
19094
19576
  * ```
19095
19577
  *
19578
+ * @stability stable
19096
19579
  * @category metrics
19097
19580
  * @since 4.0.0
19098
19581
  */
@@ -19139,6 +19622,7 @@ export declare const trackSuccesses: {
19139
19622
  * Effect.runSync(Metric.value(requestSizeGauge)).value // => 12
19140
19623
  * ```
19141
19624
  *
19625
+ * @stability stable
19142
19626
  * @category metrics
19143
19627
  * @since 4.0.0
19144
19628
  */
@@ -19185,6 +19669,7 @@ export declare const trackSuccesses: {
19185
19669
  * Effect.runSync(Metric.value(requestSizeGauge)).value // => 12
19186
19670
  * ```
19187
19671
  *
19672
+ * @stability stable
19188
19673
  * @category metrics
19189
19674
  * @since 4.0.0
19190
19675
  */
@@ -19234,6 +19719,7 @@ export declare const trackSuccesses: {
19234
19719
  * Effect.runSync(Metric.value(errorTypeFrequency)).occurrences.get("ConnectionFailedError") // => 1
19235
19720
  * ```
19236
19721
  *
19722
+ * @stability stable
19237
19723
  * @category metrics
19238
19724
  * @since 4.0.0
19239
19725
  */
@@ -19282,6 +19768,7 @@ export declare const trackErrors: {
19282
19768
  * Effect.runSync(Metric.value(errorTypeFrequency)).occurrences.get("ConnectionFailedError") // => 1
19283
19769
  * ```
19284
19770
  *
19771
+ * @stability stable
19285
19772
  * @category metrics
19286
19773
  * @since 4.0.0
19287
19774
  */
@@ -19330,6 +19817,7 @@ export declare const trackErrors: {
19330
19817
  * Effect.runSync(Metric.value(errorTypeFrequency)).occurrences.get("ConnectionFailedError") // => 1
19331
19818
  * ```
19332
19819
  *
19820
+ * @stability stable
19333
19821
  * @category metrics
19334
19822
  * @since 4.0.0
19335
19823
  */
@@ -19378,6 +19866,7 @@ export declare const trackErrors: {
19378
19866
  * Effect.runSync(Metric.value(errorTypeFrequency)).occurrences.get("ConnectionFailedError") // => 1
19379
19867
  * ```
19380
19868
  *
19869
+ * @stability stable
19381
19870
  * @category metrics
19382
19871
  * @since 4.0.0
19383
19872
  */
@@ -19426,6 +19915,7 @@ export declare const trackErrors: {
19426
19915
  * Effect.runSync(Metric.value(errorTypeFrequency)).occurrences.get("ConnectionFailedError") // => 1
19427
19916
  * ```
19428
19917
  *
19918
+ * @stability stable
19429
19919
  * @category metrics
19430
19920
  * @since 4.0.0
19431
19921
  */
@@ -19476,6 +19966,7 @@ export declare const trackErrors: {
19476
19966
  * Effect.runSync(Metric.value(defectTypeFrequency)).occurrences.get("Error") // => 1
19477
19967
  * ```
19478
19968
  *
19969
+ * @stability stable
19479
19970
  * @category metrics
19480
19971
  * @since 4.0.0
19481
19972
  */
@@ -19525,6 +20016,7 @@ export declare const trackDefects: {
19525
20016
  * Effect.runSync(Metric.value(defectTypeFrequency)).occurrences.get("Error") // => 1
19526
20017
  * ```
19527
20018
  *
20019
+ * @stability stable
19528
20020
  * @category metrics
19529
20021
  * @since 4.0.0
19530
20022
  */
@@ -19574,6 +20066,7 @@ export declare const trackDefects: {
19574
20066
  * Effect.runSync(Metric.value(defectTypeFrequency)).occurrences.get("Error") // => 1
19575
20067
  * ```
19576
20068
  *
20069
+ * @stability stable
19577
20070
  * @category metrics
19578
20071
  * @since 4.0.0
19579
20072
  */
@@ -19623,6 +20116,7 @@ export declare const trackDefects: {
19623
20116
  * Effect.runSync(Metric.value(defectTypeFrequency)).occurrences.get("Error") // => 1
19624
20117
  * ```
19625
20118
  *
20119
+ * @stability stable
19626
20120
  * @category metrics
19627
20121
  * @since 4.0.0
19628
20122
  */
@@ -19672,6 +20166,7 @@ export declare const trackDefects: {
19672
20166
  * Effect.runSync(Metric.value(defectTypeFrequency)).occurrences.get("Error") // => 1
19673
20167
  * ```
19674
20168
  *
20169
+ * @stability stable
19675
20170
  * @category metrics
19676
20171
  * @since 4.0.0
19677
20172
  */
@@ -19718,6 +20213,7 @@ export declare const trackDefects: {
19718
20213
  * Effect.runSync(Metric.value(durationGauge)).value // => 1
19719
20214
  * ```
19720
20215
  *
20216
+ * @stability stable
19721
20217
  * @category metrics
19722
20218
  * @since 4.0.0
19723
20219
  */
@@ -19763,6 +20259,7 @@ export declare const trackDuration: {
19763
20259
  * Effect.runSync(Metric.value(durationGauge)).value // => 1
19764
20260
  * ```
19765
20261
  *
20262
+ * @stability stable
19766
20263
  * @category metrics
19767
20264
  * @since 4.0.0
19768
20265
  */
@@ -19808,6 +20305,7 @@ export declare const trackDuration: {
19808
20305
  * Effect.runSync(Metric.value(durationGauge)).value // => 1
19809
20306
  * ```
19810
20307
  *
20308
+ * @stability stable
19811
20309
  * @category metrics
19812
20310
  * @since 4.0.0
19813
20311
  */
@@ -19853,6 +20351,7 @@ export declare const trackDuration: {
19853
20351
  * Effect.runSync(Metric.value(durationGauge)).value // => 1
19854
20352
  * ```
19855
20353
  *
20354
+ * @stability stable
19856
20355
  * @category metrics
19857
20356
  * @since 4.0.0
19858
20357
  */
@@ -19898,6 +20397,7 @@ export declare const trackDuration: {
19898
20397
  * Effect.runSync(Metric.value(durationGauge)).value // => 1
19899
20398
  * ```
19900
20399
  *
20400
+ * @stability stable
19901
20401
  * @category metrics
19902
20402
  * @since 4.0.0
19903
20403
  */
@@ -19938,6 +20438,7 @@ declare const Transaction_base: Context.ServiceClass<Transaction, "effect/Effect
19938
20438
  * Effect.runSync(runnable) // => "Transaction complete"
19939
20439
  * ```
19940
20440
  *
20441
+ * @stability stable
19941
20442
  * @category transactions
19942
20443
  * @since 4.0.0
19943
20444
  */
@@ -19986,6 +20487,7 @@ export declare class Transaction extends Transaction_base {
19986
20487
  * output // => ["Transaction sum: 30", "Final ref1: 10", "Final ref2: 20"]
19987
20488
  * ```
19988
20489
  *
20490
+ * @stability stable
19989
20491
  * @category transactions
19990
20492
  * @since 4.0.0
19991
20493
  */
@@ -20023,6 +20525,7 @@ export declare const tx: <A, E, R>(effect: Effect<A, E, R>) => Effect<A, E, Excl
20023
20525
  * await Effect.runPromise(program) // => 1
20024
20526
  * ```
20025
20527
  *
20528
+ * @stability stable
20026
20529
  * @category transactions
20027
20530
  * @since 4.0.0
20028
20531
  */
@@ -20030,6 +20533,7 @@ export declare const txRetry: Effect<never, never, Transaction>;
20030
20533
  /**
20031
20534
  * Type helpers for converting callback-based functions into `Effect` functions.
20032
20535
  *
20536
+ * @stability stable
20033
20537
  * @category converting
20034
20538
  * @since 4.0.0
20035
20539
  */
@@ -20299,6 +20803,7 @@ type EffectifyArgs<F extends (...args: Array<any>) => any> = Parameters<F> exten
20299
20803
  * error.message // => "Failed to process hello: unavailable"
20300
20804
  * ```
20301
20805
  *
20806
+ * @stability stable
20302
20807
  * @category converting
20303
20808
  * @since 4.0.0
20304
20809
  */
@@ -20352,6 +20857,7 @@ export declare const effectify: {
20352
20857
  * error.message // => "Failed to process hello: unavailable"
20353
20858
  * ```
20354
20859
  *
20860
+ * @stability stable
20355
20861
  * @category converting
20356
20862
  * @since 4.0.0
20357
20863
  */
@@ -20405,6 +20911,7 @@ export declare const effectify: {
20405
20911
  * error.message // => "Failed to process hello: unavailable"
20406
20912
  * ```
20407
20913
  *
20914
+ * @stability stable
20408
20915
  * @category converting
20409
20916
  * @since 4.0.0
20410
20917
  */
@@ -20458,6 +20965,7 @@ export declare const effectify: {
20458
20965
  * error.message // => "Failed to process hello: unavailable"
20459
20966
  * ```
20460
20967
  *
20968
+ * @stability stable
20461
20969
  * @category converting
20462
20970
  * @since 4.0.0
20463
20971
  */
@@ -20489,6 +20997,7 @@ export declare const effectify: {
20489
20997
  * // Type 'string' is not assignable to type 'number'
20490
20998
  * ```
20491
20999
  *
21000
+ * @stability stable
20492
21001
  * @category utility types
20493
21002
  * @since 4.0.0
20494
21003
  */
@@ -20521,6 +21030,7 @@ export declare const satisfiesSuccessType: <A>() => <A2 extends A, E, R>(effect:
20521
21030
  * // Type 'string' is not assignable to type 'ValidationError'
20522
21031
  * ```
20523
21032
  *
21033
+ * @stability stable
20524
21034
  * @category utility types
20525
21035
  * @since 4.0.0
20526
21036
  */
@@ -20550,6 +21060,7 @@ export declare const satisfiesErrorType: <E>() => <A, E2 extends E, R>(effect: E
20550
21060
  * // const constrainedInvalid = satisfiesStringServices(invalidEffect)
20551
21061
  * ```
20552
21062
  *
21063
+ * @stability stable
20553
21064
  * @category utility types
20554
21065
  * @since 4.0.0
20555
21066
  */
@@ -20583,6 +21094,7 @@ export declare const satisfiesServicesType: <R>() => <A, E, R2 extends R>(effect
20583
21094
  * await Effect.runPromise(Effect.all([mapped, mappedPending])) // => [10, 10]
20584
21095
  * ```
20585
21096
  *
21097
+ * @stability stable
20586
21098
  * @category mapping
20587
21099
  * @since 4.0.0
20588
21100
  */
@@ -20616,6 +21128,7 @@ export declare const mapEager: {
20616
21128
  * await Effect.runPromise(Effect.all([mapped, mappedPending])) // => [10, 10]
20617
21129
  * ```
20618
21130
  *
21131
+ * @stability stable
20619
21132
  * @category mapping
20620
21133
  * @since 4.0.0
20621
21134
  */
@@ -20649,6 +21162,7 @@ export declare const mapEager: {
20649
21162
  * await Effect.runPromise(Effect.all([mapped, mappedPending])) // => [10, 10]
20650
21163
  * ```
20651
21164
  *
21165
+ * @stability stable
20652
21166
  * @category mapping
20653
21167
  * @since 4.0.0
20654
21168
  */
@@ -20693,6 +21207,7 @@ export declare const mapEager: {
20693
21207
  * output // => [['mapped: original error', 'mapped: error']]
20694
21208
  * ```
20695
21209
  *
21210
+ * @stability stable
20696
21211
  * @category error handling
20697
21212
  * @since 4.0.0
20698
21213
  */
@@ -20736,6 +21251,7 @@ export declare const mapErrorEager: {
20736
21251
  * output // => [['mapped: original error', 'mapped: error']]
20737
21252
  * ```
20738
21253
  *
21254
+ * @stability stable
20739
21255
  * @category error handling
20740
21256
  * @since 4.0.0
20741
21257
  */
@@ -20779,6 +21295,7 @@ export declare const mapErrorEager: {
20779
21295
  * output // => [['mapped: original error', 'mapped: error']]
20780
21296
  * ```
20781
21297
  *
21298
+ * @stability stable
20782
21299
  * @category error handling
20783
21300
  * @since 4.0.0
20784
21301
  */
@@ -20822,6 +21339,7 @@ export declare const mapErrorEager: {
20822
21339
  * output // => [10, "Failed: error"]
20823
21340
  * ```
20824
21341
  *
21342
+ * @stability stable
20825
21343
  * @category mapping
20826
21344
  * @since 4.0.0
20827
21345
  */
@@ -20864,6 +21382,7 @@ export declare const mapBothEager: {
20864
21382
  * output // => [10, "Failed: error"]
20865
21383
  * ```
20866
21384
  *
21385
+ * @stability stable
20867
21386
  * @category mapping
20868
21387
  * @since 4.0.0
20869
21388
  */
@@ -20909,6 +21428,7 @@ export declare const mapBothEager: {
20909
21428
  * output // => [10, "Failed: error"]
20910
21429
  * ```
20911
21430
  *
21431
+ * @stability stable
20912
21432
  * @category mapping
20913
21433
  * @since 4.0.0
20914
21434
  */
@@ -20950,6 +21470,7 @@ export declare const mapBothEager: {
20950
21470
  * await Effect.runPromise(Effect.all([flatMapped, flatMappedPending])) // => [10, 10]
20951
21471
  * ```
20952
21472
  *
21473
+ * @stability stable
20953
21474
  * @category sequencing
20954
21475
  * @since 4.0.0
20955
21476
  */
@@ -20987,6 +21508,7 @@ export declare const flatMapEager: {
20987
21508
  * await Effect.runPromise(Effect.all([flatMapped, flatMappedPending])) // => [10, 10]
20988
21509
  * ```
20989
21510
  *
21511
+ * @stability stable
20990
21512
  * @category sequencing
20991
21513
  * @since 4.0.0
20992
21514
  */
@@ -21024,6 +21546,7 @@ export declare const flatMapEager: {
21024
21546
  * await Effect.runPromise(Effect.all([flatMapped, flatMappedPending])) // => [10, 10]
21025
21547
  * ```
21026
21548
  *
21549
+ * @stability stable
21027
21550
  * @category sequencing
21028
21551
  * @since 4.0.0
21029
21552
  */
@@ -21078,6 +21601,7 @@ export declare const flatMapEager: {
21078
21601
  * output // => [['recovered from: original error', 42, 'recovered from: error']]
21079
21602
  * ```
21080
21603
  *
21604
+ * @stability stable
21081
21605
  * @category error handling
21082
21606
  * @since 4.0.0
21083
21607
  */
@@ -21131,6 +21655,7 @@ export declare const catchEager: {
21131
21655
  * output // => [['recovered from: original error', 42, 'recovered from: error']]
21132
21656
  * ```
21133
21657
  *
21658
+ * @stability stable
21134
21659
  * @category error handling
21135
21660
  * @since 4.0.0
21136
21661
  */
@@ -21184,6 +21709,7 @@ export declare const catchEager: {
21184
21709
  * output // => [['recovered from: original error', 42, 'recovered from: error']]
21185
21710
  * ```
21186
21711
  *
21712
+ * @stability stable
21187
21713
  * @category error handling
21188
21714
  * @since 4.0.0
21189
21715
  */
@@ -21212,6 +21738,7 @@ export declare const catchEager: {
21212
21738
  * Effect.runSync(effect) // => "computed eagerly"
21213
21739
  * ```
21214
21740
  *
21741
+ * @stability stable
21215
21742
  * @category constructors
21216
21743
  * @since 4.0.0
21217
21744
  */