brass-runtime 1.18.0 → 1.18.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.
- package/CHANGELOG.md +54 -0
- package/dist/agent/cli/main.cjs +31 -31
- package/dist/agent/cli/main.js +3 -3
- package/dist/agent/cli/main.mjs +3 -3
- package/dist/agent/index.cjs +4 -4
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +3 -3
- package/dist/agent/index.mjs +3 -3
- package/dist/{chunk-PSEU65ND.js → chunk-2R3RVNS2.js} +6 -6
- package/dist/{chunk-ITZQ526U.mjs → chunk-3NKXUX4T.mjs} +2 -2
- package/dist/{chunk-JH4GI3DW.js → chunk-4PKBNG2H.js} +38 -18
- package/dist/{chunk-Z3PSSXP3.mjs → chunk-5RVHSBJ6.mjs} +292 -36
- package/dist/{chunk-QZ6QFJNM.mjs → chunk-5UBJT4RW.mjs} +4 -4
- package/dist/{chunk-7TXQJFZX.cjs → chunk-6STX4PS3.cjs} +13 -13
- package/dist/{chunk-VIFA4DPN.cjs → chunk-7FZUTJM3.cjs} +508 -252
- package/dist/{chunk-4YQHPIWJ.js → chunk-A6EG5WRL.js} +3 -3
- package/dist/{chunk-XSAHV5HQ.js → chunk-APQBU7TM.js} +264 -133
- package/dist/{chunk-RREBJX2S.mjs → chunk-AQQQFNYD.mjs} +38 -18
- package/dist/{chunk-AADFFVYS.js → chunk-B2VXVNIS.js} +1 -1
- package/dist/{chunk-R6WDSZA6.mjs → chunk-BLXBZ6RE.mjs} +1 -1
- package/dist/{chunk-ITG6I7ZS.js → chunk-C3CWI42G.js} +1 -1
- package/dist/{chunk-LXBU5E77.cjs → chunk-DV644N7P.cjs} +85 -85
- package/dist/{chunk-G5JTCFMI.mjs → chunk-EKLEDIVJ.mjs} +2 -2
- package/dist/{chunk-IBRHSH5H.js → chunk-EXBGIC66.js} +1 -1
- package/dist/{chunk-W6WR37HN.js → chunk-FC5N5QHJ.js} +2 -2
- package/dist/{chunk-6MLAZPBL.mjs → chunk-FNWOH2T2.js} +18 -6
- package/dist/{chunk-AJMKZXRB.cjs → chunk-FYWWU3Z7.cjs} +2 -2
- package/dist/{chunk-IFRBVMWJ.cjs → chunk-GOEO763K.cjs} +21 -21
- package/dist/{chunk-S4HHFUYP.js → chunk-GXOIUBKE.js} +2 -2
- package/dist/{chunk-BG5RNEA2.js → chunk-H4ZRUQZL.js} +4 -4
- package/dist/{chunk-OI4ESUMC.mjs → chunk-HW2CLRJ3.mjs} +6 -6
- package/dist/{chunk-3PHU7FWS.js → chunk-JWFOWPMB.js} +163 -155
- package/dist/{chunk-OT2TESZU.mjs → chunk-KAPZHDO4.mjs} +1 -1
- package/dist/{chunk-ELLF55ER.mjs → chunk-KDXNWGPB.mjs} +1 -1
- package/dist/{chunk-UUMKZJRJ.cjs → chunk-KPOL2YEO.cjs} +18 -6
- package/dist/{chunk-2SLT3X6G.cjs → chunk-MA74OYCI.cjs} +6 -6
- package/dist/{chunk-2QNREG6K.mjs → chunk-MUMBUXU6.mjs} +264 -133
- package/dist/{chunk-YTX2JYYP.cjs → chunk-NQW3YUFN.cjs} +18 -18
- package/dist/{chunk-3PFZGP23.cjs → chunk-OO7BGCC3.cjs} +54 -34
- package/dist/{chunk-QCOLAHU3.mjs → chunk-OX6MF7SZ.mjs} +163 -155
- package/dist/{chunk-KHACHFBQ.cjs → chunk-QBVS3UYN.cjs} +245 -237
- package/dist/{chunk-H5GYX7RZ.js → chunk-RZGB3DXR.js} +292 -36
- package/dist/{chunk-KRYP6CAE.mjs → chunk-URVS2OE2.mjs} +3 -3
- package/dist/{chunk-HCJ4S3YB.js → chunk-UZQ3BB6W.mjs} +18 -6
- package/dist/{chunk-N6QNSTWD.cjs → chunk-YQWZ7FZX.cjs} +5 -5
- package/dist/{chunk-5XADBMSU.cjs → chunk-Z2YIDHRI.cjs} +5 -5
- package/dist/{chunk-SSQJKDN3.cjs → chunk-ZDZNV6NA.cjs} +286 -155
- package/dist/core/index.cjs +14 -8
- package/dist/core/index.d.ts +6 -6
- package/dist/core/index.js +13 -7
- package/dist/core/index.mjs +13 -7
- package/dist/{defaultClient-DhpCQW9m.d.ts → defaultClient-Cid0JoUR.d.ts} +29 -4
- package/dist/{effect-CtUDl5M5.d.ts → effect-DnGUuhw6.d.ts} +22 -1
- package/dist/http/index.cjs +58 -54
- package/dist/http/index.d.ts +8 -8
- package/dist/http/index.js +11 -7
- package/dist/http/index.mjs +11 -7
- package/dist/http/testing.cjs +9 -9
- package/dist/http/testing.d.ts +4 -4
- package/dist/http/testing.js +5 -5
- package/dist/http/testing.mjs +5 -5
- package/dist/index.cjs +92 -86
- package/dist/index.d.ts +7 -7
- package/dist/index.js +14 -8
- package/dist/index.mjs +14 -8
- package/dist/{layer-BalPI6cN.d.ts → layer-D2LFcBVx.d.ts} +1 -1
- package/dist/observability/index.cjs +10 -10
- package/dist/observability/index.d.ts +7 -7
- package/dist/observability/index.js +9 -9
- package/dist/observability/index.mjs +9 -9
- package/dist/perf/cli.cjs +26 -26
- package/dist/perf/cli.js +11 -11
- package/dist/perf/cli.mjs +11 -11
- package/dist/perf/index.cjs +13 -13
- package/dist/perf/index.js +11 -11
- package/dist/perf/index.mjs +11 -11
- package/dist/schema/index.cjs +2 -2
- package/dist/schema/index.js +1 -1
- package/dist/schema/index.mjs +1 -1
- package/dist/{server-C1zVmqE6.d.ts → server-Bf1zNYZk.d.ts} +4 -4
- package/dist/{stream-Bb4FTejt.d.ts → stream-I7bkvF7a.d.ts} +1 -1
- package/dist/{tracer-DzfuE6um.d.ts → tracer-DF83nLn6.d.ts} +2 -2
- package/dist/{tracing-BABA5arE.d.ts → tracing-CWV4gT0u.d.ts} +1 -1
- package/package.json +3 -2
package/dist/core/index.cjs
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkGOEO763Kcjs = require('../chunk-GOEO763K.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
|
|
@@ -53,11 +53,11 @@ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkYQWZ7FZXcjs = require('../chunk-YQWZ7FZX.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkZ2YIDHRIcjs = require('../chunk-Z2YIDHRI.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@ var _chunk5XADBMSUcjs = require('../chunk-5XADBMSU.cjs');
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
var
|
|
68
|
+
var _chunkFYWWU3Z7cjs = require('../chunk-FYWWU3Z7.cjs');
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
@@ -154,7 +154,7 @@ var _chunkAJMKZXRBcjs = require('../chunk-AJMKZXRB.cjs');
|
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
var
|
|
157
|
+
var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
@@ -181,7 +181,10 @@ var _chunk7TXQJFZXcjs = require('../chunk-7TXQJFZX.cjs');
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
var _chunkZDZNV6NAcjs = require('../chunk-ZDZNV6NA.cjs');
|
|
185
188
|
|
|
186
189
|
|
|
187
190
|
|
|
@@ -220,7 +223,7 @@ var _chunkSSQJKDN3cjs = require('../chunk-SSQJKDN3.cjs');
|
|
|
220
223
|
|
|
221
224
|
|
|
222
225
|
var _chunkMVGUEJ5Zcjs = require('../chunk-MVGUEJ5Z.cjs');
|
|
223
|
-
require('../chunk-
|
|
226
|
+
require('../chunk-KPOL2YEO.cjs');
|
|
224
227
|
require('../chunk-OBGZSXTJ.cjs');
|
|
225
228
|
|
|
226
229
|
|
|
@@ -429,4 +432,7 @@ require('../chunk-OBGZSXTJ.cjs');
|
|
|
429
432
|
|
|
430
433
|
|
|
431
434
|
|
|
432
|
-
exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkAJMKZXRBcjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkAJMKZXRBcjs.InMemoryTracer; exports.Layer = _chunk7TXQJFZXcjs.Layer; exports.LayerContext = _chunk7TXQJFZXcjs.LayerContext; exports.MissingLayerServiceError = _chunk7TXQJFZXcjs.MissingLayerServiceError; exports.NoopHooks = _chunkSSQJKDN3cjs.NoopHooks; exports.Resource = _chunk7TXQJFZXcjs.Resource; exports.Runtime = _chunkSSQJKDN3cjs.Runtime; exports.RuntimeFiber = _chunkSSQJKDN3cjs.RuntimeFiber; exports.RuntimeRegistry = _chunkIFRBVMWJcjs.RuntimeRegistry; exports.RuntimeService = _chunk5XADBMSUcjs.RuntimeService; exports.Schedule = _chunk7TXQJFZXcjs.Schedule; exports.Scope = _chunkSSQJKDN3cjs.Scope; exports.Supervisor = _chunkIFRBVMWJcjs.Supervisor; exports.TestClock = _chunkIFRBVMWJcjs.TestClock; exports.TestScheduler = _chunkIFRBVMWJcjs.TestScheduler; exports.abortablePromiseStats = _chunkSSQJKDN3cjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk7TXQJFZXcjs.andThen; exports.assertCompletesWithin = _chunkIFRBVMWJcjs.assertCompletesWithin; exports.assertFails = _chunkIFRBVMWJcjs.assertFails; exports.assertFailsWith = _chunkIFRBVMWJcjs.assertFailsWith; exports.assertSucceeds = _chunkIFRBVMWJcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunk7TXQJFZXcjs.bracket; exports.buildLayer = _chunk7TXQJFZXcjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkIFRBVMWJcjs.catchTag; exports.catchTags = _chunkIFRBVMWJcjs.catchTags; exports.composeAll = _chunk7TXQJFZXcjs.composeAll; exports.composeLayer = _chunk7TXQJFZXcjs.compose; exports.consoleJsonLogger = _chunkIFRBVMWJcjs.consoleJsonLogger; exports.contramapSchedule = _chunk7TXQJFZXcjs.contramap; exports.ctxExtend = _chunkSSQJKDN3cjs.ctxExtend; exports.ctxToObject = _chunkSSQJKDN3cjs.ctxToObject; exports.defaultTracer = _chunkIFRBVMWJcjs.defaultTracer; exports.defineConfigLayer = _chunkIFRBVMWJcjs.defineConfigLayer; exports.defineLayer = _chunk7TXQJFZXcjs.defineLayer; exports.defineService = _chunk7TXQJFZXcjs.defineService; exports.delayedEffect = _chunkIFRBVMWJcjs.delayedEffect; exports.derivedRef = _chunkIFRBVMWJcjs.derivedRef; exports.dumpAllFibers = _chunkIFRBVMWJcjs.dumpAllFibers; exports.elapsed = _chunk7TXQJFZXcjs.elapsed; exports.emptyContext = _chunkSSQJKDN3cjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk7TXQJFZXcjs.ensuring; exports.exponential = _chunk7TXQJFZXcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkN6QNSTWDcjs.fiberRefSnapshot; exports.fibonacci = _chunk7TXQJFZXcjs.fibonacci; exports.fixed = _chunk7TXQJFZXcjs.fixed; exports.flakyEffect = _chunkIFRBVMWJcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk7TXQJFZXcjs.forever; exports.fork = _chunkSSQJKDN3cjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk7TXQJFZXcjs.formatLayerError; exports.fromPromiseAbortable = _chunkSSQJKDN3cjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkSSQJKDN3cjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkSSQJKDN3cjs.getCurrentFiber; exports.getFiberRef = _chunkN6QNSTWDcjs.getFiberRef; exports.getService = _chunk7TXQJFZXcjs.getService; exports.getServices = _chunk7TXQJFZXcjs.getServices; exports.gracefulShutdown = _chunkIFRBVMWJcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk7TXQJFZXcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk7TXQJFZXcjs.jitter; exports.jittered = _chunk7TXQJFZXcjs.jittered; exports.jitteredSchedule = _chunk7TXQJFZXcjs.jitteredSchedule; exports.joinSupervised = _chunkIFRBVMWJcjs.joinSupervised; exports.layer = _chunk7TXQJFZXcjs.layer; exports.layerEffect = _chunk7TXQJFZXcjs.layerEffect; exports.layerFail = _chunk7TXQJFZXcjs.layerFail; exports.layerFrom = _chunk7TXQJFZXcjs.layerFrom; exports.layerFromContext = _chunk7TXQJFZXcjs.layerFromContext; exports.layerSucceed = _chunk7TXQJFZXcjs.layerSucceed; exports.layerValue = _chunk7TXQJFZXcjs.layerValue; exports.linear = _chunk7TXQJFZXcjs.linear; exports.linkAbortController = _chunkIFRBVMWJcjs.linkAbortController; exports.liveClock = _chunkSSQJKDN3cjs.liveClock; exports.locallyFiberRef = _chunkN6QNSTWDcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkN6QNSTWDcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkIFRBVMWJcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunkIFRBVMWJcjs.makeConfigLayer; exports.makeFiberRef = _chunkN6QNSTWDcjs.makeFiberRef; exports.makeLayerScope = _chunk7TXQJFZXcjs.makeLayerScope; exports.makeMetrics = _chunkAJMKZXRBcjs.makeMetrics; exports.makeRef = _chunkIFRBVMWJcjs.makeRef; exports.makeResource = _chunk7TXQJFZXcjs.makeResource; exports.makeRuntime = _chunkIFRBVMWJcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkAJMKZXRBcjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunk5XADBMSUcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkN6QNSTWDcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk7TXQJFZXcjs.makeScheduleDriver; exports.makeSemaphore = _chunkIFRBVMWJcjs.makeSemaphore; exports.makeServiceTag = _chunk7TXQJFZXcjs.makeServiceTag; exports.makeSupervisor = _chunkIFRBVMWJcjs.makeSupervisor; exports.makeTestLayer = _chunk7TXQJFZXcjs.makeTestLayer; exports.makeTestLayers = _chunk7TXQJFZXcjs.makeTestLayers; exports.makeTestRuntime = _chunkIFRBVMWJcjs.makeTestRuntime; exports.makeTracer = _chunkIFRBVMWJcjs.makeTracer; exports.makeWorkerPool = _chunkIFRBVMWJcjs.makeWorkerPool; exports.managed = _chunk7TXQJFZXcjs.managed; exports.managedAll = _chunk7TXQJFZXcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkIFRBVMWJcjs.mapError; exports.mapLayer = _chunk7TXQJFZXcjs.mapLayer; exports.mapSchedule = _chunk7TXQJFZXcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk7TXQJFZXcjs.maxDelay; exports.maxElapsed = _chunk7TXQJFZXcjs.maxElapsed; exports.mergeAll = _chunk7TXQJFZXcjs.mergeAll; exports.mergeLayer = _chunk7TXQJFZXcjs.merge; exports.modifyFiberRef = _chunkN6QNSTWDcjs.modifyFiberRef; exports.namedSchedule = _chunk7TXQJFZXcjs.named; exports.never = _chunk7TXQJFZXcjs.never; exports.neverEffect = _chunkIFRBVMWJcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk7TXQJFZXcjs.once; exports.orElse = _chunkIFRBVMWJcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk7TXQJFZXcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk7TXQJFZXcjs.provide; exports.provideContext = _chunk7TXQJFZXcjs.provideContext; exports.provideLayer = _chunk7TXQJFZXcjs.provideLayer; exports.provideLayerContext = _chunk7TXQJFZXcjs.provideLayerContext; exports.recurs = _chunk7TXQJFZXcjs.recurs; exports.registerShutdownHooks = _chunkIFRBVMWJcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk7TXQJFZXcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk7TXQJFZXcjs.repeat; exports.resetAbortablePromiseStats = _chunkSSQJKDN3cjs.resetAbortablePromiseStats; exports.resource = _chunk7TXQJFZXcjs.resource; exports.resourceAll = _chunk7TXQJFZXcjs.resourceAll; exports.resourceFromManaged = _chunk7TXQJFZXcjs.resourceFromManaged; exports.resourceSucceed = _chunk7TXQJFZXcjs.resourceSucceed; exports.retry = _chunk7TXQJFZXcjs.retry; exports.retryN = _chunk7TXQJFZXcjs.retryN; exports.retryWithBackoff = _chunk7TXQJFZXcjs.retryWithBackoff; exports.retryWithSchedule = _chunk7TXQJFZXcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk7TXQJFZXcjs.retry2; exports.runEffect = _chunkIFRBVMWJcjs.runEffect; exports.runExit = _chunkIFRBVMWJcjs.runExit; exports.runPromise = _chunkIFRBVMWJcjs.runPromise; exports.runSchedule = _chunk7TXQJFZXcjs.runSchedule; exports.runtimeClockFromEnv = _chunkSSQJKDN3cjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkAJMKZXRBcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkSSQJKDN3cjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkAJMKZXRBcjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk7TXQJFZXcjs.scheduleDriver; exports.serviceTag = _chunk7TXQJFZXcjs.serviceTag; exports.setBenchmarkBudget = _chunkSSQJKDN3cjs.setBenchmarkBudget; exports.setFiberRef = _chunkN6QNSTWDcjs.setFiberRef; exports.sleep = _chunk7TXQJFZXcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk7TXQJFZXcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkIFRBVMWJcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkIFRBVMWJcjs.tagError; exports.takeSchedule = _chunk7TXQJFZXcjs.take; exports.tapDecision = _chunk7TXQJFZXcjs.tapDecision; exports.timeout = _chunk7TXQJFZXcjs.timeout; exports.toPromise = _chunkSSQJKDN3cjs.toPromise; exports.toPromiseByCaller = _chunkSSQJKDN3cjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk7TXQJFZXcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkSSQJKDN3cjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkN6QNSTWDcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkSSQJKDN3cjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkSSQJKDN3cjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkN6QNSTWDcjs.unsafeSetFiberRef; exports.untilInput = _chunk7TXQJFZXcjs.untilInput; exports.untilOutput = _chunk7TXQJFZXcjs.untilOutput; exports.upTo = _chunk7TXQJFZXcjs.upTo; exports.updateFiberRef = _chunkN6QNSTWDcjs.updateFiberRef; exports.useManaged = _chunk7TXQJFZXcjs.useManaged; exports.useResource = _chunk7TXQJFZXcjs.useResource; exports.useService = _chunk7TXQJFZXcjs.useService; exports.useServices = _chunk7TXQJFZXcjs.useServices; exports.whileInput = _chunk7TXQJFZXcjs.whileInput; exports.whileOutput = _chunk7TXQJFZXcjs.whileOutput; exports.windowed = _chunk7TXQJFZXcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkSSQJKDN3cjs.withCurrentFiber; exports.withScope = _chunkSSQJKDN3cjs.withScope; exports.withScopeAsync = _chunkSSQJKDN3cjs.withScopeAsync;
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkFYWWU3Z7cjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkFYWWU3Z7cjs.InMemoryTracer; exports.Layer = _chunk6STX4PS3cjs.Layer; exports.LayerContext = _chunk6STX4PS3cjs.LayerContext; exports.MissingLayerServiceError = _chunk6STX4PS3cjs.MissingLayerServiceError; exports.NoopHooks = _chunkZDZNV6NAcjs.NoopHooks; exports.Resource = _chunk6STX4PS3cjs.Resource; exports.Runtime = _chunkZDZNV6NAcjs.Runtime; exports.RuntimeFiber = _chunkZDZNV6NAcjs.RuntimeFiber; exports.RuntimeRegistry = _chunkGOEO763Kcjs.RuntimeRegistry; exports.RuntimeService = _chunkZ2YIDHRIcjs.RuntimeService; exports.Schedule = _chunk6STX4PS3cjs.Schedule; exports.Scope = _chunkZDZNV6NAcjs.Scope; exports.Supervisor = _chunkGOEO763Kcjs.Supervisor; exports.TestClock = _chunkGOEO763Kcjs.TestClock; exports.TestScheduler = _chunkGOEO763Kcjs.TestScheduler; exports.abortablePromiseStats = _chunkZDZNV6NAcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk6STX4PS3cjs.andThen; exports.assertCompletesWithin = _chunkGOEO763Kcjs.assertCompletesWithin; exports.assertFails = _chunkGOEO763Kcjs.assertFails; exports.assertFailsWith = _chunkGOEO763Kcjs.assertFailsWith; exports.assertSucceeds = _chunkGOEO763Kcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunk6STX4PS3cjs.bracket; exports.buildLayer = _chunk6STX4PS3cjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkGOEO763Kcjs.catchTag; exports.catchTags = _chunkGOEO763Kcjs.catchTags; exports.composeAll = _chunk6STX4PS3cjs.composeAll; exports.composeLayer = _chunk6STX4PS3cjs.compose; exports.consoleJsonLogger = _chunkGOEO763Kcjs.consoleJsonLogger; exports.contramapSchedule = _chunk6STX4PS3cjs.contramap; exports.ctxExtend = _chunkZDZNV6NAcjs.ctxExtend; exports.ctxToObject = _chunkZDZNV6NAcjs.ctxToObject; exports.defaultTracer = _chunkGOEO763Kcjs.defaultTracer; exports.defineConfigLayer = _chunkGOEO763Kcjs.defineConfigLayer; exports.defineLayer = _chunk6STX4PS3cjs.defineLayer; exports.defineService = _chunk6STX4PS3cjs.defineService; exports.delayedEffect = _chunkGOEO763Kcjs.delayedEffect; exports.derivedRef = _chunkGOEO763Kcjs.derivedRef; exports.dumpAllFibers = _chunkGOEO763Kcjs.dumpAllFibers; exports.elapsed = _chunk6STX4PS3cjs.elapsed; exports.emptyContext = _chunkZDZNV6NAcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk6STX4PS3cjs.ensuring; exports.exponential = _chunk6STX4PS3cjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkYQWZ7FZXcjs.fiberRefSnapshot; exports.fibonacci = _chunk6STX4PS3cjs.fibonacci; exports.fixed = _chunk6STX4PS3cjs.fixed; exports.flakyEffect = _chunkGOEO763Kcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk6STX4PS3cjs.forever; exports.fork = _chunkZDZNV6NAcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk6STX4PS3cjs.formatLayerError; exports.fromPromiseAbortable = _chunkZDZNV6NAcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkZDZNV6NAcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkZDZNV6NAcjs.getCurrentFiber; exports.getFiberRef = _chunkYQWZ7FZXcjs.getFiberRef; exports.getService = _chunk6STX4PS3cjs.getService; exports.getServices = _chunk6STX4PS3cjs.getServices; exports.gracefulShutdown = _chunkGOEO763Kcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk6STX4PS3cjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk6STX4PS3cjs.jitter; exports.jittered = _chunk6STX4PS3cjs.jittered; exports.jitteredSchedule = _chunk6STX4PS3cjs.jitteredSchedule; exports.joinSupervised = _chunkGOEO763Kcjs.joinSupervised; exports.layer = _chunk6STX4PS3cjs.layer; exports.layerEffect = _chunk6STX4PS3cjs.layerEffect; exports.layerFail = _chunk6STX4PS3cjs.layerFail; exports.layerFrom = _chunk6STX4PS3cjs.layerFrom; exports.layerFromContext = _chunk6STX4PS3cjs.layerFromContext; exports.layerSucceed = _chunk6STX4PS3cjs.layerSucceed; exports.layerValue = _chunk6STX4PS3cjs.layerValue; exports.linear = _chunk6STX4PS3cjs.linear; exports.linkAbortController = _chunkGOEO763Kcjs.linkAbortController; exports.liveClock = _chunkZDZNV6NAcjs.liveClock; exports.locallyFiberRef = _chunkYQWZ7FZXcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkYQWZ7FZXcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkGOEO763Kcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunkGOEO763Kcjs.makeConfigLayer; exports.makeFiberRef = _chunkYQWZ7FZXcjs.makeFiberRef; exports.makeLayerScope = _chunk6STX4PS3cjs.makeLayerScope; exports.makeMetrics = _chunkFYWWU3Z7cjs.makeMetrics; exports.makeRef = _chunkGOEO763Kcjs.makeRef; exports.makeResource = _chunk6STX4PS3cjs.makeResource; exports.makeRuntime = _chunkGOEO763Kcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkFYWWU3Z7cjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkZ2YIDHRIcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkYQWZ7FZXcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk6STX4PS3cjs.makeScheduleDriver; exports.makeSemaphore = _chunkGOEO763Kcjs.makeSemaphore; exports.makeServiceTag = _chunk6STX4PS3cjs.makeServiceTag; exports.makeSupervisor = _chunkGOEO763Kcjs.makeSupervisor; exports.makeTestLayer = _chunk6STX4PS3cjs.makeTestLayer; exports.makeTestLayers = _chunk6STX4PS3cjs.makeTestLayers; exports.makeTestRuntime = _chunkGOEO763Kcjs.makeTestRuntime; exports.makeTracer = _chunkGOEO763Kcjs.makeTracer; exports.makeWorkerPool = _chunkGOEO763Kcjs.makeWorkerPool; exports.managed = _chunk6STX4PS3cjs.managed; exports.managedAll = _chunk6STX4PS3cjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkGOEO763Kcjs.mapError; exports.mapLayer = _chunk6STX4PS3cjs.mapLayer; exports.mapSchedule = _chunk6STX4PS3cjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk6STX4PS3cjs.maxDelay; exports.maxElapsed = _chunk6STX4PS3cjs.maxElapsed; exports.mergeAll = _chunk6STX4PS3cjs.mergeAll; exports.mergeLayer = _chunk6STX4PS3cjs.merge; exports.modifyFiberRef = _chunkYQWZ7FZXcjs.modifyFiberRef; exports.namedSchedule = _chunk6STX4PS3cjs.named; exports.never = _chunk6STX4PS3cjs.never; exports.neverEffect = _chunkGOEO763Kcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk6STX4PS3cjs.once; exports.orElse = _chunkGOEO763Kcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk6STX4PS3cjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk6STX4PS3cjs.provide; exports.provideContext = _chunk6STX4PS3cjs.provideContext; exports.provideLayer = _chunk6STX4PS3cjs.provideLayer; exports.provideLayerContext = _chunk6STX4PS3cjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunkZDZNV6NAcjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunkZDZNV6NAcjs.recordAbortablePromiseStart; exports.recurs = _chunk6STX4PS3cjs.recurs; exports.registerShutdownHooks = _chunkGOEO763Kcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk6STX4PS3cjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk6STX4PS3cjs.repeat; exports.resetAbortablePromiseStats = _chunkZDZNV6NAcjs.resetAbortablePromiseStats; exports.resource = _chunk6STX4PS3cjs.resource; exports.resourceAll = _chunk6STX4PS3cjs.resourceAll; exports.resourceFromManaged = _chunk6STX4PS3cjs.resourceFromManaged; exports.resourceSucceed = _chunk6STX4PS3cjs.resourceSucceed; exports.retry = _chunk6STX4PS3cjs.retry; exports.retryN = _chunk6STX4PS3cjs.retryN; exports.retryWithBackoff = _chunk6STX4PS3cjs.retryWithBackoff; exports.retryWithSchedule = _chunk6STX4PS3cjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk6STX4PS3cjs.retry2; exports.runEffect = _chunkGOEO763Kcjs.runEffect; exports.runExit = _chunkGOEO763Kcjs.runExit; exports.runPromise = _chunkGOEO763Kcjs.runPromise; exports.runSchedule = _chunk6STX4PS3cjs.runSchedule; exports.runtimeClockFromEnv = _chunkZDZNV6NAcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkFYWWU3Z7cjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkZDZNV6NAcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkFYWWU3Z7cjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk6STX4PS3cjs.scheduleDriver; exports.serviceTag = _chunk6STX4PS3cjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunkZDZNV6NAcjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunkZDZNV6NAcjs.setBenchmarkBudget; exports.setFiberRef = _chunkYQWZ7FZXcjs.setFiberRef; exports.sleep = _chunk6STX4PS3cjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk6STX4PS3cjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkGOEO763Kcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkGOEO763Kcjs.tagError; exports.takeSchedule = _chunk6STX4PS3cjs.take; exports.tapDecision = _chunk6STX4PS3cjs.tapDecision; exports.timeout = _chunk6STX4PS3cjs.timeout; exports.toPromise = _chunkZDZNV6NAcjs.toPromise; exports.toPromiseByCaller = _chunkZDZNV6NAcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk6STX4PS3cjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkYQWZ7FZXcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkZDZNV6NAcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkZDZNV6NAcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkYQWZ7FZXcjs.unsafeSetFiberRef; exports.untilInput = _chunk6STX4PS3cjs.untilInput; exports.untilOutput = _chunk6STX4PS3cjs.untilOutput; exports.upTo = _chunk6STX4PS3cjs.upTo; exports.updateFiberRef = _chunkYQWZ7FZXcjs.updateFiberRef; exports.useManaged = _chunk6STX4PS3cjs.useManaged; exports.useResource = _chunk6STX4PS3cjs.useResource; exports.useService = _chunk6STX4PS3cjs.useService; exports.useServices = _chunk6STX4PS3cjs.useServices; exports.whileInput = _chunk6STX4PS3cjs.whileInput; exports.whileOutput = _chunk6STX4PS3cjs.whileOutput; exports.windowed = _chunk6STX4PS3cjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkZDZNV6NAcjs.withCurrentFiber; exports.withScope = _chunkZDZNV6NAcjs.withScope; exports.withScopeAsync = _chunkZDZNV6NAcjs.withScopeAsync;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit,
|
|
2
|
-
export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats,
|
|
3
|
-
export { M as ManagedResource, R as Resource, R as ResourceDescriptor, S as Span, a as SpanContext, b as SpanEvent, c as SpanStatus, T as Tracer, d as TracerConfig, e as bracket, f as ensuring, m as makeResource, g as makeTracer, h as managed, i as managedAll, r as resource, j as resourceAll, k as resourceFromManaged, l as resourceSucceed, u as useManaged, n as useResource } from '../tracing-
|
|
4
|
-
import { R as RuntimeClock, k as RuntimeTimerId, j as RuntimeClockEnv, a as LayerContext, S as ServiceTag, L as Layer, l as Schedule } from '../layer-
|
|
5
|
-
export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, u as ServiceTagMap, v as ServicesOf, T as TestLayerProvider, w as andThenSchedule, x as buildLayer, y as composeAll, z as composeLayer, A as contramapSchedule, D as defineLayer, E as defineService, F as elapsed, G as exponential, H as fibonacci, I as fixed, J as forever, K as formatLayerError, N as getService, O as getServices, P as intersect, Q as jitter, U as jittered, V as jitteredSchedule, W as layer, X as layerEffect, Y as layerFail, Z as layerFrom, _ as layerFromContext, $ as layerSucceed, a0 as layerValue, a1 as linear, a2 as liveClock, a3 as makeCircuitBreaker, a4 as makeLayerScope, a5 as makeScheduleDriver, a6 as makeServiceTag, a7 as makeTestLayer, a8 as makeTestLayers, a9 as mapLayer, aa as mapSchedule, ab as maxDelay, ac as maxElapsed, ad as mergeAll, ae as mergeLayer, af as namedSchedule, ag as never, ah as once, ai as pollWithSchedule, aj as provide, ak as provideContext, al as provideLayer, am as provideLayerContext, an as recurs, ao as repeatWithSchedule, ap as repeatWithScheduleAlias, aq as retryWithSchedule, ar as retryWithScheduleAlias, as as runSchedule, at as runtimeClockFromEnv, au as scheduleDriver, av as serviceTag, aw as spaced, ax as takeSchedule, ay as tapDecision, az as union, aA as untilInput, aB as untilOutput, aC as upTo, aD as useService, aE as useServices, aF as whileInput, aG as whileOutput, aH as windowed } from '../layer-
|
|
1
|
+
import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit, aJ as Task, ay as ScheduleResult, aD as SchedulerStats, R as RuntimeHooks, f as RuntimeEventRecord, h as RuntimeRegistry, k as Fiber } from '../effect-DnGUuhw6.js';
|
|
2
|
+
export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AbortablePromiseTimerWheel, D as AsyncWithPromise, H as CancelToken, I as Canceler, K as Cause, L as CausePrettyOptions, M as ContextNode, $ as FiberContext, l as FiberId, a1 as FiberInfo, a5 as FiberRunState, m as FiberStatus, ah as Interrupted, ai as InterruptibilityMode, J as JSONValue, al as None, am as NoopHooks, O as Option, as as RestoreInterruptibility, e as RuntimeEmitContext, d as RuntimeEvent, i as RuntimeFiber, g as RuntimeSpanLink, S as Scope, aF as ScopeId, aG as ScopeInfo, aH as Some, T as TraceContext, Z as ZIO, aM as abortablePromiseStats, aN as acquireRelease, aO as async, aP as asyncCatchAll, aQ as asyncFail, aR as asyncFlatMap, aS as asyncFold, aT as asyncInterruptible, aU as asyncMap, aV as asyncMapError, aW as asyncSucceed, aX as asyncSync, aY as asyncTotal, aZ as catchAll, a_ as ctxExtend, a$ as ctxToObject, b0 as emptyContext, b1 as end, b3 as fail, b4 as flatMap, b5 as fork, b6 as formatCause, b7 as fromPromiseAbortable, b8 as getBenchmarkBudget, b9 as getCurrentFiber, bc as interruptible, bd as isCause, bf as linkAbortController, bh as makeCancelToken, bj as makeRuntimeEventRecord, bk as map, bl as mapAsync, bm as mapError, bn as mapTryAsync, bo as none, bp as orElseOptional, bq as prettyCause, br as recordAbortablePromiseFinish, bs as recordAbortablePromiseStart, bt as resetAbortablePromiseStats, bv as runtimeEventRecordContext, bw as runtimeForCaller, bz as setAbortablePromisePerLabelTracking, bA as setBenchmarkBudget, bB as some, bC as succeed, bD as sync, bE as toPromise, bF as toPromiseByCaller, bG as uninterruptible, bH as uninterruptibleMask, bI as unit, bJ as unsafeGetCurrentRuntime, bK as unsafeRunAsync, bL as unsafeRunFoldWithEnv, bM as withAsyncPromise, bN as withCurrentFiber, bO as withScope, bP as withScopeAsync } from '../effect-DnGUuhw6.js';
|
|
3
|
+
export { M as ManagedResource, R as Resource, R as ResourceDescriptor, S as Span, a as SpanContext, b as SpanEvent, c as SpanStatus, T as Tracer, d as TracerConfig, e as bracket, f as ensuring, m as makeResource, g as makeTracer, h as managed, i as managedAll, r as resource, j as resourceAll, k as resourceFromManaged, l as resourceSucceed, u as useManaged, n as useResource } from '../tracing-CWV4gT0u.js';
|
|
4
|
+
import { R as RuntimeClock, k as RuntimeTimerId, j as RuntimeClockEnv, a as LayerContext, S as ServiceTag, L as Layer, l as Schedule } from '../layer-D2LFcBVx.js';
|
|
5
|
+
export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, u as ServiceTagMap, v as ServicesOf, T as TestLayerProvider, w as andThenSchedule, x as buildLayer, y as composeAll, z as composeLayer, A as contramapSchedule, D as defineLayer, E as defineService, F as elapsed, G as exponential, H as fibonacci, I as fixed, J as forever, K as formatLayerError, N as getService, O as getServices, P as intersect, Q as jitter, U as jittered, V as jitteredSchedule, W as layer, X as layerEffect, Y as layerFail, Z as layerFrom, _ as layerFromContext, $ as layerSucceed, a0 as layerValue, a1 as linear, a2 as liveClock, a3 as makeCircuitBreaker, a4 as makeLayerScope, a5 as makeScheduleDriver, a6 as makeServiceTag, a7 as makeTestLayer, a8 as makeTestLayers, a9 as mapLayer, aa as mapSchedule, ab as maxDelay, ac as maxElapsed, ad as mergeAll, ae as mergeLayer, af as namedSchedule, ag as never, ah as once, ai as pollWithSchedule, aj as provide, ak as provideContext, al as provideLayer, am as provideLayerContext, an as recurs, ao as repeatWithSchedule, ap as repeatWithScheduleAlias, aq as retryWithSchedule, ar as retryWithScheduleAlias, as as runSchedule, at as runtimeClockFromEnv, au as scheduleDriver, av as serviceTag, aw as spaced, ax as takeSchedule, ay as tapDecision, az as union, aA as untilInput, aB as untilOutput, aC as upTo, aD as useService, aE as useServices, aF as whileInput, aG as whileOutput, aH as windowed } from '../layer-D2LFcBVx.js';
|
|
6
6
|
import { JsonSchemaLike } from '../schema/index.js';
|
|
7
|
-
export { B as BrassEnv, C as Counter, E as EventBus, f as EventBusOptions, g as EventHandler, G as Gauge, H as Histogram, h as HistogramBuckets, I as InMemoryTracer, e as InMemoryTracerOptions, i as InMemoryTracerStats, a as MetricExemplar, b as MetricSnapshot, j as MetricType, k as MetricValue, M as MetricsRegistry, R as RuntimeSpan, l as RuntimeSpanEvent, d as RuntimeTraceIdGenerator, m as defaultTracer, n as makeMetrics, r as runtimeHooksToEventHandler } from '../tracer-
|
|
7
|
+
export { B as BrassEnv, C as Counter, E as EventBus, f as EventBusOptions, g as EventHandler, G as Gauge, H as Histogram, h as HistogramBuckets, I as InMemoryTracer, e as InMemoryTracerOptions, i as InMemoryTracerStats, a as MetricExemplar, b as MetricSnapshot, j as MetricType, k as MetricValue, M as MetricsRegistry, R as RuntimeSpan, l as RuntimeSpanEvent, d as RuntimeTraceIdGenerator, m as defaultTracer, n as makeMetrics, r as runtimeHooksToEventHandler } from '../tracer-DF83nLn6.js';
|
|
8
8
|
|
|
9
9
|
type TimeoutError = {
|
|
10
10
|
readonly _tag: "TimeoutError";
|
package/dist/core/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
runPromise,
|
|
38
38
|
supervise,
|
|
39
39
|
tagError
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-H4ZRUQZL.js";
|
|
41
41
|
import {
|
|
42
42
|
makeCircuitBreaker
|
|
43
43
|
} from "../chunk-YM3EDNYD.js";
|
|
@@ -53,11 +53,11 @@ import {
|
|
|
53
53
|
unsafeGetFiberRef,
|
|
54
54
|
unsafeSetFiberRef,
|
|
55
55
|
updateFiberRef
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-GXOIUBKE.js";
|
|
57
57
|
import {
|
|
58
58
|
RuntimeService,
|
|
59
59
|
makeRuntimeLayer
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-FC5N5QHJ.js";
|
|
61
61
|
import {
|
|
62
62
|
EventBus,
|
|
63
63
|
InMemoryTracer,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
makeRuntimeEventRecord,
|
|
66
66
|
runtimeEventRecordContext,
|
|
67
67
|
runtimeHooksToEventHandler
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-B2VXVNIS.js";
|
|
69
69
|
import {
|
|
70
70
|
Layer,
|
|
71
71
|
LayerContext,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
whileInput,
|
|
155
155
|
whileOutput,
|
|
156
156
|
windowed
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-EXBGIC66.js";
|
|
158
158
|
import {
|
|
159
159
|
NoopHooks,
|
|
160
160
|
Runtime,
|
|
@@ -169,9 +169,12 @@ import {
|
|
|
169
169
|
getBenchmarkBudget,
|
|
170
170
|
getCurrentFiber,
|
|
171
171
|
liveClock,
|
|
172
|
+
recordAbortablePromiseFinish,
|
|
173
|
+
recordAbortablePromiseStart,
|
|
172
174
|
resetAbortablePromiseStats,
|
|
173
175
|
runtimeClockFromEnv,
|
|
174
176
|
runtimeForCaller,
|
|
177
|
+
setAbortablePromisePerLabelTracking,
|
|
175
178
|
setBenchmarkBudget,
|
|
176
179
|
toPromise,
|
|
177
180
|
toPromiseByCaller,
|
|
@@ -181,7 +184,7 @@ import {
|
|
|
181
184
|
withCurrentFiber,
|
|
182
185
|
withScope,
|
|
183
186
|
withScopeAsync
|
|
184
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-APQBU7TM.js";
|
|
185
188
|
import {
|
|
186
189
|
Async,
|
|
187
190
|
Cause,
|
|
@@ -220,7 +223,7 @@ import {
|
|
|
220
223
|
unit,
|
|
221
224
|
withAsyncPromise
|
|
222
225
|
} from "../chunk-UB4B6OFY.js";
|
|
223
|
-
import "../chunk-
|
|
226
|
+
import "../chunk-FNWOH2T2.js";
|
|
224
227
|
import "../chunk-3RG5ZIWI.js";
|
|
225
228
|
export {
|
|
226
229
|
Async,
|
|
@@ -367,6 +370,8 @@ export {
|
|
|
367
370
|
provideContext,
|
|
368
371
|
provideLayer,
|
|
369
372
|
provideLayerContext,
|
|
373
|
+
recordAbortablePromiseFinish,
|
|
374
|
+
recordAbortablePromiseStart,
|
|
370
375
|
recurs,
|
|
371
376
|
registerShutdownHooks,
|
|
372
377
|
repeatWithSchedule,
|
|
@@ -391,6 +396,7 @@ export {
|
|
|
391
396
|
runtimeHooksToEventHandler,
|
|
392
397
|
scheduleDriver,
|
|
393
398
|
serviceTag,
|
|
399
|
+
setAbortablePromisePerLabelTracking,
|
|
394
400
|
setBenchmarkBudget,
|
|
395
401
|
setFiberRef,
|
|
396
402
|
sleep,
|
package/dist/core/index.mjs
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
runPromise,
|
|
38
38
|
supervise,
|
|
39
39
|
tagError
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-5UBJT4RW.mjs";
|
|
41
41
|
import {
|
|
42
42
|
makeCircuitBreaker
|
|
43
43
|
} from "../chunk-KTGDLBLD.mjs";
|
|
@@ -53,11 +53,11 @@ import {
|
|
|
53
53
|
unsafeGetFiberRef,
|
|
54
54
|
unsafeSetFiberRef,
|
|
55
55
|
updateFiberRef
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-EKLEDIVJ.mjs";
|
|
57
57
|
import {
|
|
58
58
|
RuntimeService,
|
|
59
59
|
makeRuntimeLayer
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-3NKXUX4T.mjs";
|
|
61
61
|
import {
|
|
62
62
|
EventBus,
|
|
63
63
|
InMemoryTracer,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
makeRuntimeEventRecord,
|
|
66
66
|
runtimeEventRecordContext,
|
|
67
67
|
runtimeHooksToEventHandler
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-KAPZHDO4.mjs";
|
|
69
69
|
import {
|
|
70
70
|
Layer,
|
|
71
71
|
LayerContext,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
whileInput,
|
|
155
155
|
whileOutput,
|
|
156
156
|
windowed
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-KDXNWGPB.mjs";
|
|
158
158
|
import {
|
|
159
159
|
NoopHooks,
|
|
160
160
|
Runtime,
|
|
@@ -169,9 +169,12 @@ import {
|
|
|
169
169
|
getBenchmarkBudget,
|
|
170
170
|
getCurrentFiber,
|
|
171
171
|
liveClock,
|
|
172
|
+
recordAbortablePromiseFinish,
|
|
173
|
+
recordAbortablePromiseStart,
|
|
172
174
|
resetAbortablePromiseStats,
|
|
173
175
|
runtimeClockFromEnv,
|
|
174
176
|
runtimeForCaller,
|
|
177
|
+
setAbortablePromisePerLabelTracking,
|
|
175
178
|
setBenchmarkBudget,
|
|
176
179
|
toPromise,
|
|
177
180
|
toPromiseByCaller,
|
|
@@ -181,7 +184,7 @@ import {
|
|
|
181
184
|
withCurrentFiber,
|
|
182
185
|
withScope,
|
|
183
186
|
withScopeAsync
|
|
184
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-MUMBUXU6.mjs";
|
|
185
188
|
import {
|
|
186
189
|
Async,
|
|
187
190
|
Cause,
|
|
@@ -220,7 +223,7 @@ import {
|
|
|
220
223
|
unit,
|
|
221
224
|
withAsyncPromise
|
|
222
225
|
} from "../chunk-36I3M4UC.mjs";
|
|
223
|
-
import "../chunk-
|
|
226
|
+
import "../chunk-UZQ3BB6W.mjs";
|
|
224
227
|
import "../chunk-Y6FXYEAI.mjs";
|
|
225
228
|
export {
|
|
226
229
|
Async,
|
|
@@ -367,6 +370,8 @@ export {
|
|
|
367
370
|
provideContext,
|
|
368
371
|
provideLayer,
|
|
369
372
|
provideLayerContext,
|
|
373
|
+
recordAbortablePromiseFinish,
|
|
374
|
+
recordAbortablePromiseStart,
|
|
370
375
|
recurs,
|
|
371
376
|
registerShutdownHooks,
|
|
372
377
|
repeatWithSchedule,
|
|
@@ -391,6 +396,7 @@ export {
|
|
|
391
396
|
runtimeHooksToEventHandler,
|
|
392
397
|
scheduleDriver,
|
|
393
398
|
serviceTag,
|
|
399
|
+
setAbortablePromisePerLabelTracking,
|
|
394
400
|
setBenchmarkBudget,
|
|
395
401
|
setFiberRef,
|
|
396
402
|
sleep,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Async,
|
|
2
|
-
import { Z as ZStream } from './stream-
|
|
3
|
-
import { l as Schedule, r as ScheduleObserver, d as CircuitBreakerError } from './layer-
|
|
1
|
+
import { A as Async, D as AsyncWithPromise } from './effect-DnGUuhw6.js';
|
|
2
|
+
import { Z as ZStream } from './stream-I7bkvF7a.js';
|
|
3
|
+
import { l as Schedule, r as ScheduleObserver, d as CircuitBreakerError } from './layer-D2LFcBVx.js';
|
|
4
4
|
import { SchemaIssue, JsonSchemaLike, AnyJsonSchemaLike, InferJsonSchema } from './schema/index.js';
|
|
5
5
|
|
|
6
6
|
type HttpRetryScheduleInput = {
|
|
@@ -159,6 +159,8 @@ declare class HttpConcurrencyPool {
|
|
|
159
159
|
private nextSubjectId;
|
|
160
160
|
constructor(config?: HttpPoolConfig);
|
|
161
161
|
acquire(key: string, signal: AbortSignal): Promise<HttpPoolLease>;
|
|
162
|
+
/** Try synchronous acquire. Returns lease directly or undefined if contended. */
|
|
163
|
+
tryAcquireSync(key: string, signal: AbortSignal): HttpPoolLease | undefined;
|
|
162
164
|
stats(): HttpPoolStats;
|
|
163
165
|
private acquireJs;
|
|
164
166
|
private acquireWasm;
|
|
@@ -501,6 +503,12 @@ declare class AdaptiveLimiter {
|
|
|
501
503
|
* Rejects with PoolRejected if the queue is full, or PoolTimeout if the queue timeout expires.
|
|
502
504
|
*/
|
|
503
505
|
acquire(key: string, signal: AbortSignal, options?: AdaptiveAcquireOptions): Promise<AdaptiveLease>;
|
|
506
|
+
/**
|
|
507
|
+
* Try to acquire a concurrency slot synchronously.
|
|
508
|
+
* Returns a lease directly if under the limit, or undefined if contended/aborted/destroyed.
|
|
509
|
+
* This avoids Promise.resolve() allocation and microtask scheduling on the uncontended path.
|
|
510
|
+
*/
|
|
511
|
+
tryAcquireSync(key: string, signal: AbortSignal): AdaptiveLease | undefined;
|
|
504
512
|
/**
|
|
505
513
|
* Get stats for a specific key, or aggregate stats if no key is provided.
|
|
506
514
|
*/
|
|
@@ -633,6 +641,18 @@ type HttpTransportContext = {
|
|
|
633
641
|
};
|
|
634
642
|
type HttpTransport = (context: HttpTransportContext) => Async<unknown, HttpError, HttpWireResponse>;
|
|
635
643
|
type HttpStreamTransport = (context: HttpTransportContext) => Async<unknown, HttpError, HttpWireResponseStream>;
|
|
644
|
+
/**
|
|
645
|
+
* Marker interface for promise-based transports that support the direct path.
|
|
646
|
+
*/
|
|
647
|
+
interface PromiseTransportMarker {
|
|
648
|
+
readonly __promiseTransport: true;
|
|
649
|
+
readonly requestDirect: (context: HttpTransportContext) => Promise<HttpWireResponse>;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Type guard that checks whether a transport function carries the
|
|
653
|
+
* `__promiseTransport` marker, indicating it supports the direct promise path.
|
|
654
|
+
*/
|
|
655
|
+
declare function isPromiseTransportDirect(transport: HttpTransport): transport is HttpTransport & PromiseTransportMarker;
|
|
636
656
|
type HttpTransportTiming = {
|
|
637
657
|
readonly startedAt: number;
|
|
638
658
|
readonly durationMs: number;
|
|
@@ -817,6 +837,11 @@ declare const decorate: (run: HttpClientFn, stats?: () => HttpClientStats, metad
|
|
|
817
837
|
declare const withMiddleware: (mw: HttpMiddleware) => (c: HttpClient) => HttpClient;
|
|
818
838
|
declare const normalizeHeadersInit: (h: any) => Record<string, string> | undefined;
|
|
819
839
|
declare function makeHttpStream(cfg?: MakeHttpConfig): HttpClientStream;
|
|
840
|
+
/**
|
|
841
|
+
* Shared no-op AbortSignal used when no external signal is present.
|
|
842
|
+
* This avoids allocating a new AbortController per request in the common case.
|
|
843
|
+
*/
|
|
844
|
+
declare const noopSignal: AbortSignal;
|
|
820
845
|
declare function makeHttp(cfg?: MakeHttpConfig): HttpClient;
|
|
821
846
|
declare const withRetryStream: (p: RetryPolicy) => (next: HttpClientStream) => HttpClientStream;
|
|
822
847
|
|
|
@@ -1620,4 +1645,4 @@ declare const defaultHttpClientPreset: DefaultHttpClientPreset;
|
|
|
1620
1645
|
*/
|
|
1621
1646
|
declare function makeDefaultHttpClient(config?: DefaultHttpClientConfig): DefaultHttpClient;
|
|
1622
1647
|
|
|
1623
|
-
export { type DefaultHttpClientFeatures as $, type AdaptiveLimiterStats as A, type BatchConfig as B, type CompressionConfig as C, type DefaultHttpClient as D, type AdaptiveLimiterPreset as E, type HttpPoolConfig as F, type AdaptiveAcquireOptions as G, type HttpRequest as H, type AdaptiveBaselineStrategy as I, type AdaptiveHeadroomContext as J, type AdaptiveHeadroomMode as K, type LifecycleClientConfig as L, type AdaptiveHeadroomStrategy as M, type AdaptiveLease as N, type AdaptiveLimiterDiagnostics as O, type PrewarmResult as P, type AdaptiveLimiterKeySnapshot as Q, type RequestCompressionConfig as R, type AdaptiveQueueLoadShedding as S, type AdaptiveQueueStrategy as T, type AdaptiveReleaseInfo as U, type BatchFunction as V, type CachePolicyResult as W, type CompressionStats as X, type DecompressResult as Y, type Decompressor as Z, type DefaultGetJson as _, type HttpClient as a, abortErrorForSignal as a$, type DefaultPostJson as a0, type Dx as a1, type HttpBody as a2, type HttpClientStream as a3, type HttpClientStreamFn as a4, HttpConcurrencyPool as a5, type HttpErrorHandlers as a6, type HttpInit as a7, type HttpJsonInit as a8, type HttpMeta as a9, type PerRequestRetryOverride as aA, type PrewarmEvent as aB, type PrewarmEventType as aC, type PrewarmOriginStatus as aD, type PrewarmResultStatus as aE, type PromiseHttpTransportBodyBuilder as aF, type PromiseHttpTransportBodySelector as aG, type PromiseHttpTransportConfig as aH, type PromiseHttpTransportConfigWithSignal as aI, type PromiseHttpTransportFluentResponseBuilder as aJ, type PromiseHttpTransportRequestConfigBuilder as aK, type PromiseHttpTransportRequestConfigContext as aL, type PromiseHttpTransportRequestConfigMapper as aM, type PromiseHttpTransportResponse as aN, type PromiseHttpTransportResponseInfo as aO, type PromiseHttpTransportResponseInfoMapper as aP, type PromiseHttpTransportStartBuilder as aQ, type RequestCompressionStats as aR, type ResolveHttpRequestPolicyOptions as aS, type ResolvedConfig as aT, type RetryEvent as aU, type RetryScheduleInput as aV, type RetryableHttpErrorOptions as aW, SUPPORTED_ENCODINGS as aX, type SupportedEncoding as aY, type ToHttpErrorOptions as aZ, type ValidationError as a_, type HttpPolicyPreset as aa, type HttpPolicyPresets as ab, type HttpPoolKeyResolver as ac, type HttpPoolKeyStats as ad, type HttpPoolLease as ae, type HttpPoolStats as af, type HttpPostJsonBodyInit as ag, type HttpPostJsonInit as ah, type HttpPostJsonSchemaBodyInit as ai, type HttpRequestPolicy as aj, type HttpRequestPolicyRef as ak, type HttpRequestRetryOverride as al, type HttpResponse as am, type HttpResponseWithMeta as an, type HttpRetryScheduleInput as ao, type HttpStreamTransport as ap, type HttpTransportContext as aq, type HttpTransportTiming as ar, type HttpWireResponseStream as as, type HttpWireWithMeta as at, type JsonDecodeResult as au, type KnownHttpError as av, type KnownHttpErrorTag as aw, type LifecycleRequestOptions as ax, type LimitChangeEvent as ay, type MakeHttpConfig as az, type HttpWireResponse as b, adaptiveLimiterPresets as b0, backoffDelayMs as b1, decodeJsonBody as b2, decodeJsonBodyEffect as b3, decorate as b4, defaultHttpClientPreset as b5, defaultRetryOnError as b6, defaultRetryOnStatus as b7, defaultRetryableMethods as b8, defineHttpPolicyPresets as b9,
|
|
1648
|
+
export { type DefaultHttpClientFeatures as $, type AdaptiveLimiterStats as A, type BatchConfig as B, type CompressionConfig as C, type DefaultHttpClient as D, type AdaptiveLimiterPreset as E, type HttpPoolConfig as F, type AdaptiveAcquireOptions as G, type HttpRequest as H, type AdaptiveBaselineStrategy as I, type AdaptiveHeadroomContext as J, type AdaptiveHeadroomMode as K, type LifecycleClientConfig as L, type AdaptiveHeadroomStrategy as M, type AdaptiveLease as N, type AdaptiveLimiterDiagnostics as O, type PrewarmResult as P, type AdaptiveLimiterKeySnapshot as Q, type RequestCompressionConfig as R, type AdaptiveQueueLoadShedding as S, type AdaptiveQueueStrategy as T, type AdaptiveReleaseInfo as U, type BatchFunction as V, type CachePolicyResult as W, type CompressionStats as X, type DecompressResult as Y, type Decompressor as Z, type DefaultGetJson as _, type HttpClient as a, abortErrorForSignal as a$, type DefaultPostJson as a0, type Dx as a1, type HttpBody as a2, type HttpClientStream as a3, type HttpClientStreamFn as a4, HttpConcurrencyPool as a5, type HttpErrorHandlers as a6, type HttpInit as a7, type HttpJsonInit as a8, type HttpMeta as a9, type PerRequestRetryOverride as aA, type PrewarmEvent as aB, type PrewarmEventType as aC, type PrewarmOriginStatus as aD, type PrewarmResultStatus as aE, type PromiseHttpTransportBodyBuilder as aF, type PromiseHttpTransportBodySelector as aG, type PromiseHttpTransportConfig as aH, type PromiseHttpTransportConfigWithSignal as aI, type PromiseHttpTransportFluentResponseBuilder as aJ, type PromiseHttpTransportRequestConfigBuilder as aK, type PromiseHttpTransportRequestConfigContext as aL, type PromiseHttpTransportRequestConfigMapper as aM, type PromiseHttpTransportResponse as aN, type PromiseHttpTransportResponseInfo as aO, type PromiseHttpTransportResponseInfoMapper as aP, type PromiseHttpTransportStartBuilder as aQ, type RequestCompressionStats as aR, type ResolveHttpRequestPolicyOptions as aS, type ResolvedConfig as aT, type RetryEvent as aU, type RetryScheduleInput as aV, type RetryableHttpErrorOptions as aW, SUPPORTED_ENCODINGS as aX, type SupportedEncoding as aY, type ToHttpErrorOptions as aZ, type ValidationError as a_, type HttpPolicyPreset as aa, type HttpPolicyPresets as ab, type HttpPoolKeyResolver as ac, type HttpPoolKeyStats as ad, type HttpPoolLease as ae, type HttpPoolStats as af, type HttpPostJsonBodyInit as ag, type HttpPostJsonInit as ah, type HttpPostJsonSchemaBodyInit as ai, type HttpRequestPolicy as aj, type HttpRequestPolicyRef as ak, type HttpRequestRetryOverride as al, type HttpResponse as am, type HttpResponseWithMeta as an, type HttpRetryScheduleInput as ao, type HttpStreamTransport as ap, type HttpTransportContext as aq, type HttpTransportTiming as ar, type HttpWireResponseStream as as, type HttpWireWithMeta as at, type JsonDecodeResult as au, type KnownHttpError as av, type KnownHttpErrorTag as aw, type LifecycleRequestOptions as ax, type LimitChangeEvent as ay, type MakeHttpConfig as az, type HttpWireResponse as b, adaptiveLimiterPresets as b0, backoffDelayMs as b1, decodeJsonBody as b2, decodeJsonBodyEffect as b3, decorate as b4, defaultHttpClientPreset as b5, defaultRetryOnError as b6, defaultRetryOnStatus as b7, defaultRetryableMethods as b8, defineHttpPolicyPresets as b9, makeFetchStreamTransport as bA, makeFetchTransport as bB, makeHttp as bC, makeHttpStream as bD, makeJsonParseValidationError as bE, makePromiseHttpTransport as bF, matchHttpError as bG, noopSignal as bH, normalizeHeadersInit as bI, normalizeHttpError as bJ, normalizeHttpHeaders as bK, normalizeRetryBudget as bL, promiseHttpTransport as bM, resolveConfig as bN, resolveHttpPoolKey as bO, resolveHttpRequestPolicyPresets as bP, retryAfterMs as bQ, toHttpError as bR, validateConfig as bS, validatedJson as bT, validatedJsonResponse as bU, withBatch as bV, withHttpPolicyPresets as bW, withHttpRequestPolicy as bX, withMiddleware as bY, withRetry as bZ, withRetryStream as b_, encodeJsonBodyEffect as ba, formatHttpError as bb, getHttpRequestPolicy as bc, headersOf as bd, httpClient as be, httpClientStream as bf, httpClientWithMeta as bg, httpErrorStatus as bh, httpPolicy as bi, isAbortError as bj, isAbortHttpError as bk, isCircuitBreakerOpen as bl, isExternalAbortError as bm, isExternalTimeoutError as bn, isFetchHttpError as bo, isHttpError as bp, isKnownHttpError as bq, isPromiseTransportDirect as br, isRetryableHttpError as bs, isRetryableHttpStatus as bt, isTaggedHttpError as bu, isTimeoutHttpError as bv, isValidationError as bw, linkAbortSignals as bx, makeAdaptiveLimiterConfig as by, makeDefaultHttpClient as bz, type HttpError as c, type HttpMiddleware as d, type DefaultHttpClientConfig as e, type CompressionMiddlewareResult as f, type RequestCompressionMiddlewareResult as g, type HttpTransport as h, AdaptiveLimiter as i, type LifecycleClient as j, type LifecycleEvent as k, type HttpClientStats as l, type LifecycleEventType as m, type LifecycleStats as n, type PrewarmStatusSnapshot as o, type PrewarmConfig as p, type HttpClientFn as q, type PrewarmOriginState as r, type HttpMethod as s, type DefaultHttpClientPreset as t, type DedupConfig as u, type CacheConfig as v, type PriorityConfig as w, type RetryPolicy as x, type PrewarmLifecycleConfig as y, type AdaptiveLimiterConfig as z };
|
|
@@ -759,6 +759,7 @@ declare class Runtime<R> {
|
|
|
759
759
|
capabilities(): RuntimeCapabilities;
|
|
760
760
|
shutdown(): Promise<void> | void;
|
|
761
761
|
unsafeRunAsync<E, A>(effect: Async<R, E, A>, cb: (exit: Exit<E, A>) => void): void;
|
|
762
|
+
private static exitToError;
|
|
762
763
|
toPromise<E, A>(effect: Async<R, E, A>): Promise<A>;
|
|
763
764
|
private tryRunNativeTopLevel;
|
|
764
765
|
unsafeRun<E, A>(effect: Async<R, E, A>): void;
|
|
@@ -785,6 +786,16 @@ type AbortablePromiseFinish = {
|
|
|
785
786
|
readonly durationMs: number;
|
|
786
787
|
readonly error?: unknown;
|
|
787
788
|
};
|
|
789
|
+
/**
|
|
790
|
+
* Duck-typed timer wheel interface for use in AbortablePromiseOptions.
|
|
791
|
+
* Avoids importing from `src/http/timerWheel.ts` to prevent circular dependencies.
|
|
792
|
+
* Any object with a compatible `schedule` method can be used.
|
|
793
|
+
*/
|
|
794
|
+
interface AbortablePromiseTimerWheel {
|
|
795
|
+
schedule(timeoutMs: number, cb: () => void): {
|
|
796
|
+
cancel(): void;
|
|
797
|
+
};
|
|
798
|
+
}
|
|
788
799
|
type AbortablePromiseOptions = {
|
|
789
800
|
/** Logical label used by diagnostics. Keep it low-cardinality: e.g. `http:GET:https://api.foo.com`. */
|
|
790
801
|
readonly label?: string;
|
|
@@ -794,6 +805,8 @@ type AbortablePromiseOptions = {
|
|
|
794
805
|
readonly timeoutReason?: () => unknown;
|
|
795
806
|
readonly onStart?: (label: string) => void;
|
|
796
807
|
readonly onFinish?: (finish: AbortablePromiseFinish) => void;
|
|
808
|
+
/** Optional timer wheel for efficient timeout scheduling. When provided, uses wheel.schedule() instead of setTimeout. */
|
|
809
|
+
readonly timerWheel?: AbortablePromiseTimerWheel;
|
|
797
810
|
};
|
|
798
811
|
type AbortablePromiseLabelStats = {
|
|
799
812
|
readonly label: string;
|
|
@@ -815,6 +828,14 @@ type AbortablePromiseStats = {
|
|
|
815
828
|
readonly lateSettlements: number;
|
|
816
829
|
readonly byLabel: AbortablePromiseLabelStats[];
|
|
817
830
|
};
|
|
831
|
+
/**
|
|
832
|
+
* Enable or disable per-label tracking for abortable promise diagnostics.
|
|
833
|
+
* When disabled (default), only global integer counters are incremented on the hot path,
|
|
834
|
+
* avoiding Map allocations entirely. Returns the previous enabled state.
|
|
835
|
+
*/
|
|
836
|
+
declare function setAbortablePromisePerLabelTracking(enabled: boolean): boolean;
|
|
837
|
+
declare const recordAbortablePromiseStart: (label: string) => void;
|
|
838
|
+
declare const recordAbortablePromiseFinish: (label: string, outcome: AbortablePromiseOutcome) => void;
|
|
818
839
|
declare function abortablePromiseStats(): AbortablePromiseStats;
|
|
819
840
|
declare function resetAbortablePromiseStats(): void;
|
|
820
841
|
/**
|
|
@@ -1159,4 +1180,4 @@ declare function uninterruptibleMask<R, E, A>(body: (restore: RestoreInterruptib
|
|
|
1159
1180
|
declare function orElseOptional<R, E, A, R2, A2>(fa: ZIO<R, Option<E>, A>, that: () => ZIO<R2, Option<E>, A2>): ZIO<R & R2, Option<E>, A | A2>;
|
|
1160
1181
|
declare const end: <E>() => ZIO<unknown, Option<E>, never>;
|
|
1161
1182
|
|
|
1162
|
-
export { type
|
|
1183
|
+
export { type FiberContext as $, Async as A, type Baggage as B, type AsyncRegisterRef as C, type AsyncWithPromise as D, Exit as E, type FiberEngine as F, type RingLike as G, type CancelToken as H, type Canceler as I, type JSONValue as J, Cause as K, type CausePrettyOptions as L, type ContextNode as M, type NodeId as N, type Option as O, type CustomHostAction as P, type DbHostAction as Q, type RuntimeHooks as R, Scope as S, type TraceContext as T, type DecodeRef as U, DefaultHostExecutor as V, type WasmEngineRuntime as W, type EngineKind as X, type EngineSelection as Y, type ZIO as Z, type EngineSelectionMode as _, type RuntimeOptions as a, ctxToObject as a$, type FiberEngineKind as a0, type FiberInfo as a1, type FiberReadyQueue as a2, type FiberReadyQueueOptions as a3, type FiberReadyQueueStats as a4, type FiberRunState as a5, type FlatMapRef as a6, type FoldFailureRef as a7, type FoldSuccessRef as a8, type HostAction as a9, type SchedulerEngine as aA, type SchedulerLaneMode as aB, type SchedulerOptions as aC, type SchedulerStats as aD, type SchedulerStatsData as aE, type ScopeId as aF, type ScopeInfo as aG, type Some as aH, type SyncRef as aI, type Task as aJ, WasmFiberEngine as aK, type WasmFiberEngineOptions as aL, abortablePromiseStats as aM, acquireRelease as aN, asyncEffect as aO, asyncCatchAll as aP, asyncFail as aQ, asyncFlatMap as aR, asyncFold as aS, asyncInterruptible as aT, asyncMap as aU, asyncMapError as aV, asyncSucceed as aW, asyncSync as aX, asyncTotal as aY, catchAll as aZ, ctxExtend as a_, type HostActionKind as aa, type HostActionResult as ab, type HostExecutionContext as ac, type HostExecutor as ad, HostRegistry as ae, type HostRegistryStats as af, type HttpHostAction as ag, type Interrupted as ah, type InterruptibilityMode as ai, type Joiner as aj, type LaneStatsData as ak, type None as al, NoopHooks as am, ProgramBuilder as an, type ProgramPatch as ao, PushStatus as ap, type QueueHostAction as aq, type ReadyQueueScheduleKind as ar, type RestoreInterruptibility as as, RingBuffer as at, type RingBufferEngine as au, type RingBufferStatsData as av, type RuntimeCapabilities as aw, type RuntimeEngineMode as ax, type ScheduleResult as ay, Scheduler as az, Runtime as b, emptyContext as b0, end as b1, engineStats as b2, fail as b3, flatMap as b4, fork as b5, formatCause as b6, fromPromiseAbortable as b7, getBenchmarkBudget as b8, getCurrentFiber as b9, setBenchmarkBudget as bA, some as bB, succeed as bC, sync as bD, toPromise as bE, toPromiseByCaller as bF, uninterruptible as bG, uninterruptibleMask as bH, unit as bI, unsafeGetCurrentRuntime as bJ, unsafeRunAsync as bK, unsafeRunFoldWithEnv as bL, withAsyncPromise as bM, withCurrentFiber as bN, withScope as bO, withScopeAsync as bP, globalScheduler as ba, inferCallerLaneFromStack as bb, interruptible as bc, isCause as bd, laneTag as be, linkAbortController as bf, makeBoundedRingBuffer as bg, makeCancelToken as bh, makeFiberReadyQueue as bi, makeRuntimeEventRecord as bj, map as bk, mapAsync as bl, mapError as bm, mapTryAsync as bn, none as bo, orElseOptional as bp, prettyCause as bq, recordAbortablePromiseFinish as br, recordAbortablePromiseStart as bs, resetAbortablePromiseStats as bt, runtimeCapabilities as bu, runtimeEventRecordContext as bv, runtimeForCaller as bw, sanitizeLaneKey as bx, selectedEngineStats as by, setAbortablePromisePerLabelTracking as bz, type RingBufferOptions as c, type RuntimeEvent as d, type RuntimeEmitContext as e, type RuntimeEventRecord as f, type RuntimeSpanLink as g, RuntimeRegistry as h, RuntimeFiber as i, type FiberEngineStats as j, type Fiber as k, type FiberId as l, type FiberStatus as m, type WasmBridge as n, type OpcodeProgram as o, type FiberId$1 as p, type EngineEvent as q, type RefId as r, type OpcodeNode as s, type EngineStats as t, type AbortablePromiseFinish as u, type AbortablePromiseLabelStats as v, type AbortablePromiseOptions as w, type AbortablePromiseOutcome as x, type AbortablePromiseStats as y, type AbortablePromiseTimerWheel as z };
|