brass-runtime 1.16.1 → 1.18.0
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/README.md +40 -8
- package/dist/agent/cli/main.cjs +31 -32
- package/dist/agent/cli/main.js +3 -4
- package/dist/agent/cli/main.mjs +3 -4
- package/dist/agent/index.cjs +4 -5
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +3 -4
- package/dist/agent/index.mjs +3 -4
- package/dist/{chunk-GYM3LLGS.mjs → chunk-2QNREG6K.mjs} +188 -5
- package/dist/{chunk-4ROBZFL6.cjs → chunk-2SLT3X6G.cjs} +6 -8
- package/dist/{chunk-KZJQ723N.cjs → chunk-3PFZGP23.cjs} +13 -15
- package/dist/{chunk-AVNQLJ5V.js → chunk-3PHU7FWS.js} +528 -23
- package/dist/{chunk-CIZFIMK5.js → chunk-4YQHPIWJ.js} +60 -11
- package/dist/chunk-5XADBMSU.cjs +33 -0
- package/dist/{chunk-DNFJLJMW.mjs → chunk-6MLAZPBL.mjs} +48 -24
- package/dist/chunk-7TKI527D.cjs +123 -0
- package/dist/{chunk-AGR5B2BC.cjs → chunk-7TXQJFZX.cjs} +564 -12
- package/dist/{chunk-RKGKFN2A.js → chunk-AADFFVYS.js} +1 -1
- package/dist/{chunk-52PPNNI4.cjs → chunk-AJMKZXRB.cjs} +2 -2
- package/dist/{chunk-3AYM6WPJ.js → chunk-BG5RNEA2.js} +20 -299
- package/dist/{chunk-2HQTDLHF.mjs → chunk-ELLF55ER.mjs} +555 -3
- package/dist/{chunk-EOC4UHBS.mjs → chunk-G5JTCFMI.mjs} +2 -2
- package/dist/chunk-H5GYX7RZ.js +6126 -0
- package/dist/{chunk-C3MDXTRZ.js → chunk-HCJ4S3YB.js} +48 -24
- package/dist/{chunk-6IXXWIUM.js → chunk-IBRHSH5H.js} +555 -3
- package/dist/{chunk-Q2I37RP3.cjs → chunk-IFRBVMWJ.cjs} +44 -323
- package/dist/{chunk-52OB2ROS.js → chunk-ITG6I7ZS.js} +2 -4
- package/dist/chunk-ITZQ526U.mjs +33 -0
- package/dist/{chunk-7JIJOVCT.js → chunk-JH4GI3DW.js} +2 -4
- package/dist/{chunk-76YMRMH2.cjs → chunk-KHACHFBQ.cjs} +583 -78
- package/dist/{chunk-MT3OWDPC.mjs → chunk-KRYP6CAE.mjs} +60 -11
- package/dist/chunk-KTGDLBLD.mjs +123 -0
- package/dist/{chunk-ENKODRU3.cjs → chunk-LXBU5E77.cjs} +143 -94
- package/dist/{chunk-PD4EJTQC.cjs → chunk-N6QNSTWD.cjs} +5 -5
- package/dist/{chunk-HLWLMW2F.mjs → chunk-OI4ESUMC.mjs} +9 -11
- package/dist/{chunk-EJ6BPYVR.mjs → chunk-OT2TESZU.mjs} +1 -1
- package/dist/{chunk-BABBZK4Y.js → chunk-PSEU65ND.js} +9 -11
- package/dist/{chunk-DNFO2EIZ.mjs → chunk-QCOLAHU3.mjs} +528 -23
- package/dist/{chunk-KH4SYAOS.mjs → chunk-QZ6QFJNM.mjs} +20 -299
- package/dist/{chunk-MBEJI5HF.mjs → chunk-R6WDSZA6.mjs} +2 -4
- package/dist/{chunk-FHQGHPMO.mjs → chunk-RREBJX2S.mjs} +2 -4
- package/dist/{chunk-5QC7LRZ3.js → chunk-S4HHFUYP.js} +2 -2
- package/dist/{chunk-GLE2WY7Z.cjs → chunk-SSQJKDN3.cjs} +194 -11
- package/dist/{chunk-CZIVE6NT.cjs → chunk-UUMKZJRJ.cjs} +48 -24
- package/dist/chunk-VIFA4DPN.cjs +6126 -0
- package/dist/chunk-W6WR37HN.js +33 -0
- package/dist/{chunk-FH2X7BVP.js → chunk-XSAHV5HQ.js} +188 -5
- package/dist/chunk-YM3EDNYD.js +123 -0
- package/dist/{chunk-VN44DYYT.cjs → chunk-YTX2JYYP.cjs} +18 -20
- package/dist/chunk-Z3PSSXP3.mjs +6126 -0
- package/dist/core/index.cjs +31 -9
- package/dist/core/index.d.ts +19 -152
- package/dist/core/index.js +80 -58
- package/dist/core/index.mjs +80 -58
- package/dist/defaultClient-DhpCQW9m.d.ts +1623 -0
- package/dist/{effect-DIUHZ9IN.d.ts → effect-CtUDl5M5.d.ts} +1 -1
- package/dist/http/index.cjs +202 -59
- package/dist/http/index.d.ts +55 -819
- package/dist/http/index.js +216 -73
- package/dist/http/index.mjs +216 -73
- package/dist/http/testing.cjs +31 -10
- package/dist/http/testing.d.ts +16 -5
- package/dist/http/testing.js +29 -8
- package/dist/http/testing.mjs +29 -8
- package/dist/index.cjs +110 -88
- package/dist/index.d.ts +9 -8
- package/dist/index.js +81 -59
- package/dist/index.mjs +81 -59
- package/dist/{schedule-CK3Ml_7p.d.ts → layer-BalPI6cN.d.ts} +176 -2
- package/dist/observability/index.cjs +22 -7
- package/dist/observability/index.d.ts +32 -8
- package/dist/observability/index.js +21 -6
- package/dist/observability/index.mjs +21 -6
- package/dist/perf/cli.cjs +26 -28
- package/dist/perf/cli.js +11 -13
- package/dist/perf/cli.mjs +11 -13
- package/dist/perf/index.cjs +13 -15
- package/dist/perf/index.js +11 -13
- package/dist/perf/index.mjs +11 -13
- package/dist/schema/index.cjs +2 -2
- package/dist/schema/index.js +1 -1
- package/dist/schema/index.mjs +1 -1
- package/dist/{server-GJPg8ZSG.d.ts → server-C1zVmqE6.d.ts} +16 -5
- package/dist/{stream-B4oK9JFP.d.ts → stream-Bb4FTejt.d.ts} +1 -1
- package/dist/{tracer-Hwt1cl7h.d.ts → tracer-DzfuE6um.d.ts} +2 -2
- package/dist/{tracing-DqbTKGcf.d.ts → tracing-BABA5arE.d.ts} +1 -1
- package/docs/README.md +4 -0
- package/docs/ai/PUBLIC_API.md +31 -7
- package/docs/articles/brass-runtime-http-observability.md +467 -0
- package/docs/framework-integrations.md +38 -0
- package/docs/frameworks/angular.md +204 -0
- package/docs/frameworks/express.md +183 -0
- package/docs/frameworks/fastify.md +173 -0
- package/docs/frameworks/nestjs.md +335 -0
- package/docs/frameworks/nextjs.md +202 -0
- package/docs/frameworks/react.md +183 -0
- package/docs/frameworks/vanilla.md +280 -0
- package/docs/guides/layers.md +130 -0
- package/docs/http-recipes.md +31 -1
- package/docs/http.md +50 -1
- package/docs/nestjs.md +6 -0
- package/docs/observability-framework-examples.md +12 -0
- package/docs/observability.md +239 -0
- package/docs/performance-profiler.md +6 -2
- package/docs/recipes/layers.md +46 -2
- package/docs/recipes/testing.md +25 -0
- package/package.json +4 -1
- package/dist/chunk-3LOYJFRR.cjs +0 -300
- package/dist/chunk-3Y2RIUMM.js +0 -300
- package/dist/chunk-5EC274J5.cjs +0 -2874
- package/dist/chunk-5VRJNBLZ.mjs +0 -2874
- package/dist/chunk-62AZW6UT.cjs +0 -313
- package/dist/chunk-74ZTY6CP.js +0 -2871
- package/dist/chunk-7CMJS3QE.mjs +0 -2871
- package/dist/chunk-A2OM6NEH.mjs +0 -194
- package/dist/chunk-B33ICAKP.js +0 -313
- package/dist/chunk-JF5WGYJJ.cjs +0 -194
- package/dist/chunk-KN32XNTH.mjs +0 -313
- package/dist/chunk-KQLYONSE.cjs +0 -2871
- package/dist/chunk-L2SYFEBS.js +0 -194
- package/dist/chunk-MIIYDLGM.js +0 -2874
- package/dist/chunk-PWC3RBQE.mjs +0 -300
- package/dist/client-CZHU674n.d.ts +0 -820
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { F as FiberEngine, W as WasmEngineRuntime, A as Async, i as RuntimeFiber, j as FiberEngineStats, k as Fiber, l as FiberId, m as FiberStatus, E as Exit,
|
|
2
|
-
export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AsyncRegisterRef, C as AsyncWithPromise, D as BoundedRingBuffer, G as CancelToken, H as Canceler, I as Cause, K as CausePrettyOptions, L as ContextNode, M as CustomHostAction, P as DbHostAction, Q as DecodeRef, U as DefaultHostExecutor, V as EngineKind, X as EngineSelection, Y as EngineSelectionMode, _ as FiberContext, $ as FiberEngineKind, a0 as FiberInfo, a1 as FiberReadyQueue, a2 as FiberReadyQueueOptions, a3 as FiberReadyQueueStats, a4 as FiberRunState, a5 as FlatMapRef, a6 as FoldFailureRef, a7 as FoldSuccessRef, a8 as HostAction, a9 as HostActionKind, aa as HostActionResult, ab as HostExecutionContext, ac as HostExecutor, ad as HostRegistry, ae as HostRegistryStats, af as HttpHostAction, ag as Interrupted, ah as InterruptibilityMode, J as JSONValue, ai as Joiner, aj as LaneStatsData, ak as None, al as NoopHooks, am as ProgramBuilder, an as ProgramPatch, ao as PushStatus, ap as QueueHostAction, aq as ReadyQueueScheduleKind, ar as RestoreInterruptibility, as as RingBuffer, at as RingBufferEngine, au as RingBufferStatsData, av as RuntimeCapabilities,
|
|
3
|
-
export {
|
|
4
|
-
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-
|
|
5
|
-
export {
|
|
6
|
-
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
|
-
import { Z as ZStream } from './stream-
|
|
8
|
-
export { C as Concat, E as Emit, a as Empty, F as Flatten, b as FromArray, c as FromPull, M as Managed, d as Merge, N as Normalize, R as ReadableStreamOptions, S as Scoped, e as assertNever, f as collectStream, g as concatStream, h as emitStream, i as emptyStream, j as flattenStream, k as foreachStream, l as fromArray, m as fromPull, n as managedStream, o as mapStream, p as merge, q as mergeStream, r as rangeStream, s as streamFromReadableStream, u as uncons, t as unwrapScoped, w as widenOpt, z as zip } from './stream-
|
|
1
|
+
import { F as FiberEngine, W as WasmEngineRuntime, A as Async, i as RuntimeFiber, j as FiberEngineStats, k as Fiber, l as FiberId, m as FiberStatus, E as Exit, d as RuntimeEvent, n as WasmBridge, o as OpcodeProgram, p as FiberId$1, q as EngineEvent, r as RefId, N as NodeId, s as OpcodeNode, t as EngineStats, O as Option, b as Runtime, S as Scope, c as RingBufferOptions } from './effect-CtUDl5M5.js';
|
|
2
|
+
export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AsyncRegisterRef, C as AsyncWithPromise, D as BoundedRingBuffer, G as CancelToken, H as Canceler, I as Cause, K as CausePrettyOptions, L as ContextNode, M as CustomHostAction, P as DbHostAction, Q as DecodeRef, U as DefaultHostExecutor, V as EngineKind, X as EngineSelection, Y as EngineSelectionMode, _ as FiberContext, $ as FiberEngineKind, a0 as FiberInfo, a1 as FiberReadyQueue, a2 as FiberReadyQueueOptions, a3 as FiberReadyQueueStats, a4 as FiberRunState, a5 as FlatMapRef, a6 as FoldFailureRef, a7 as FoldSuccessRef, a8 as HostAction, a9 as HostActionKind, aa as HostActionResult, ab as HostExecutionContext, ac as HostExecutor, ad as HostRegistry, ae as HostRegistryStats, af as HttpHostAction, ag as Interrupted, ah as InterruptibilityMode, J as JSONValue, ai as Joiner, aj as LaneStatsData, ak as None, al as NoopHooks, am as ProgramBuilder, an as ProgramPatch, ao as PushStatus, ap as QueueHostAction, aq as ReadyQueueScheduleKind, ar as RestoreInterruptibility, as as RingBuffer, at as RingBufferEngine, au as RingBufferStatsData, av as RuntimeCapabilities, e as RuntimeEmitContext, aw as RuntimeEngineMode, f as RuntimeEventRecord, R as RuntimeHooks, a as RuntimeOptions, h as RuntimeRegistry, g as RuntimeSpanLink, ax as ScheduleResult, ay as Scheduler, az as SchedulerEngine, aA as SchedulerLaneMode, aB as SchedulerOptions, aC as SchedulerStats, aD as SchedulerStatsData, aE as ScopeId, aF as ScopeInfo, aG as Some, aH as SyncRef, aI as Task, T as TraceContext, aJ as WasmFiberEngine, aK as WasmFiberEngineOptions, Z as ZIO, aL as abortablePromiseStats, aM as acquireRelease, aN as async, aO as asyncCatchAll, aP as asyncFail, aQ as asyncFlatMap, aR as asyncFold, aS as asyncInterruptible, aT as asyncMap, aU as asyncMapError, aV as asyncSucceed, aW as asyncSync, aX as asyncTotal, aY as catchAll, aZ as ctxExtend, a_ as ctxToObject, a$ as emptyContext, b0 as end, b1 as engineStats, b2 as fail, b3 as flatMap, b4 as fork, b5 as formatCause, b6 as fromPromiseAbortable, b7 as getBenchmarkBudget, b8 as getCurrentFiber, b9 as globalScheduler, ba as inferCallerLaneFromStack, bb as interruptible, bc as isCause, bd as laneTag, be as linkAbortController, bf as makeBoundedRingBuffer, bg as makeCancelToken, bh as makeFiberReadyQueue, bi as makeRuntimeEventRecord, bj as map, bk as mapAsync, bl as mapError, bm as mapTryAsync, bn as none, bo as orElseOptional, bp as prettyCause, bq as resetAbortablePromiseStats, br as runtimeCapabilities, bs as runtimeEventRecordContext, bt as runtimeForCaller, bu as sanitizeLaneKey, bv as selectedEngineStats, bw as setBenchmarkBudget, bx as some, by as succeed, bz as sync, bA as toPromise, bB as toPromiseByCaller, bC as uninterruptible, bD as uninterruptibleMask, bE as unit, bF as unsafeGetCurrentRuntime, bG as unsafeRunAsync, bH as unsafeRunFoldWithEnv, bI as withAsyncPromise, bJ as withCurrentFiber, bK as withScope, bL as withScopeAsync } from './effect-CtUDl5M5.js';
|
|
3
|
+
export { ConfigLayerOptions, ConfigLayerSource, EffectEnvironment, EffectFailure, EffectSuccess, FiberRef, LogLevel, MakeRuntimeOptions, Ref, RetryPolicy, RetryState, RuntimeLayerEnv, RuntimeLayerOptions, RuntimeRecorder, RuntimeRecorderExplainOptions, RuntimeRecorderOptions, RuntimeRecorderStats, RuntimeService, Semaphore, SemaphoreStats, ShutdownConfig, ShutdownStats, SupervisedChildSpec, SupervisedChildStatus, SupervisedFiber, Supervisor, SupervisorConfig, SupervisorEscalation, SupervisorEvent, SupervisorRestartContext, SupervisorRestartMode, SupervisorRestartPolicy, SupervisorStrategy, TaggedError, TestClock, TestClockTimerSnapshot, TestRuntime, TestRuntimeOptions, TestScheduledTask, TestScheduler, TimeoutError, WorkerPool, WorkerPoolConfig, WorkerPoolError, WorkerPoolStats, assertCompletesWithin, assertFails, assertFailsWith, assertSucceeds, catchTag, catchTags, consoleJsonLogger, defineConfigLayer, delayedEffect, derivedRef, dumpAllFibers, fiberRefSnapshot, flakyEffect, getFiberRef, gracefulShutdown, joinSupervised, locallyFiberRef, locallyFiberRefWith, makeConfigLayer, makeFiberRef, makeRef, makeRuntime, makeRuntimeLayer, makeRuntimeRecorder, makeSemaphore, makeSupervisor, makeTestRuntime, makeWorkerPool, mapErrorTyped, modifyFiberRef, neverEffect, orElse, registerShutdownHooks, retry, retryN, retryWithBackoff, runEffect, runExit, runPromise, setFiberRef, sleep, supervise, tagError, timeout, unsafeGetFiberRef, unsafeSetFiberRef, updateFiberRef } from './core/index.js';
|
|
4
|
+
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-BABA5arE.js';
|
|
5
|
+
export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, L as Layer, a as LayerContext, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, R as RuntimeClock, j as RuntimeClockEnv, k as RuntimeTimerId, l as Schedule, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, S as ServiceTag, 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-BalPI6cN.js';
|
|
6
|
+
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-DzfuE6um.js';
|
|
7
|
+
import { Z as ZStream } from './stream-Bb4FTejt.js';
|
|
8
|
+
export { C as Concat, E as Emit, a as Empty, F as Flatten, b as FromArray, c as FromPull, M as Managed, d as Merge, N as Normalize, R as ReadableStreamOptions, S as Scoped, e as assertNever, f as collectStream, g as concatStream, h as emitStream, i as emptyStream, j as flattenStream, k as foreachStream, l as fromArray, m as fromPull, n as managedStream, o as mapStream, p as merge, q as mergeStream, r as rangeStream, s as streamFromReadableStream, u as uncons, t as unwrapScoped, w as widenOpt, z as zip } from './stream-Bb4FTejt.js';
|
|
9
|
+
import './schema/index.js';
|
|
9
10
|
|
|
10
11
|
declare class JsFiberEngine<R> implements FiberEngine<R> {
|
|
11
12
|
private readonly runtime;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Layer,
|
|
3
|
-
LayerContext,
|
|
4
2
|
LinkedQueue,
|
|
5
|
-
MissingLayerServiceError,
|
|
6
3
|
RuntimeRegistry,
|
|
7
4
|
Supervisor,
|
|
8
5
|
TestClock,
|
|
@@ -11,72 +8,40 @@ import {
|
|
|
11
8
|
assertFails,
|
|
12
9
|
assertFailsWith,
|
|
13
10
|
assertSucceeds,
|
|
14
|
-
buildLayer,
|
|
15
11
|
catchTag,
|
|
16
12
|
catchTags,
|
|
17
|
-
compose,
|
|
18
13
|
consoleJsonLogger,
|
|
19
14
|
defaultTracer,
|
|
20
|
-
|
|
21
|
-
defineService,
|
|
15
|
+
defineConfigLayer,
|
|
22
16
|
delayedEffect,
|
|
23
17
|
derivedRef,
|
|
24
18
|
dumpAllFibers,
|
|
25
19
|
flakyEffect,
|
|
26
|
-
formatLayerError,
|
|
27
|
-
getService,
|
|
28
20
|
gracefulShutdown,
|
|
29
21
|
joinSupervised,
|
|
30
|
-
layer,
|
|
31
|
-
layerEffect,
|
|
32
|
-
layerFail,
|
|
33
|
-
layerFrom,
|
|
34
|
-
layerFromContext,
|
|
35
|
-
layerSucceed,
|
|
36
|
-
layerValue,
|
|
37
22
|
linkAbortController,
|
|
38
23
|
makeCancelToken,
|
|
39
|
-
|
|
24
|
+
makeConfigLayer,
|
|
40
25
|
makeRef,
|
|
41
26
|
makeRuntime,
|
|
42
27
|
makeSemaphore,
|
|
43
|
-
makeServiceTag,
|
|
44
28
|
makeSupervisor,
|
|
45
29
|
makeTestRuntime,
|
|
46
30
|
makeTracer,
|
|
47
31
|
makeWorkerPool,
|
|
48
32
|
mapError as mapError2,
|
|
49
|
-
mapLayer,
|
|
50
|
-
merge,
|
|
51
33
|
neverEffect,
|
|
52
34
|
orElse,
|
|
53
|
-
provide,
|
|
54
|
-
provideContext,
|
|
55
|
-
provideLayer,
|
|
56
|
-
provideLayerContext,
|
|
57
35
|
registerShutdownHooks,
|
|
58
36
|
runEffect,
|
|
59
37
|
runExit,
|
|
60
38
|
runPromise,
|
|
61
|
-
serviceTag,
|
|
62
39
|
supervise,
|
|
63
40
|
tagError
|
|
64
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BG5RNEA2.js";
|
|
65
42
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
ensuring,
|
|
69
|
-
makeCircuitBreaker,
|
|
70
|
-
makeResource,
|
|
71
|
-
managed,
|
|
72
|
-
managedAll,
|
|
73
|
-
resource,
|
|
74
|
-
resourceAll,
|
|
75
|
-
resourceFromManaged,
|
|
76
|
-
resourceSucceed,
|
|
77
|
-
useManaged,
|
|
78
|
-
useResource
|
|
79
|
-
} from "./chunk-B33ICAKP.js";
|
|
43
|
+
makeCircuitBreaker
|
|
44
|
+
} from "./chunk-YM3EDNYD.js";
|
|
80
45
|
import {
|
|
81
46
|
fiberRefSnapshot,
|
|
82
47
|
getFiberRef,
|
|
@@ -89,7 +54,19 @@ import {
|
|
|
89
54
|
unsafeGetFiberRef,
|
|
90
55
|
unsafeSetFiberRef,
|
|
91
56
|
updateFiberRef
|
|
92
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-S4HHFUYP.js";
|
|
58
|
+
import {
|
|
59
|
+
RuntimeService,
|
|
60
|
+
makeRuntimeLayer
|
|
61
|
+
} from "./chunk-W6WR37HN.js";
|
|
62
|
+
import {
|
|
63
|
+
EventBus,
|
|
64
|
+
InMemoryTracer,
|
|
65
|
+
makeMetrics,
|
|
66
|
+
makeRuntimeEventRecord,
|
|
67
|
+
runtimeEventRecordContext,
|
|
68
|
+
runtimeHooksToEventHandler
|
|
69
|
+
} from "./chunk-AADFFVYS.js";
|
|
93
70
|
import {
|
|
94
71
|
assertNever,
|
|
95
72
|
collectStream,
|
|
@@ -110,7 +87,7 @@ import {
|
|
|
110
87
|
unwrapScoped,
|
|
111
88
|
widenOpt,
|
|
112
89
|
zip
|
|
113
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-JH4GI3DW.js";
|
|
114
91
|
import {
|
|
115
92
|
collectAllPar,
|
|
116
93
|
race,
|
|
@@ -118,30 +95,69 @@ import {
|
|
|
118
95
|
zipPar
|
|
119
96
|
} from "./chunk-UCUBNWM2.js";
|
|
120
97
|
import {
|
|
98
|
+
Layer,
|
|
99
|
+
LayerContext,
|
|
100
|
+
MissingLayerServiceError,
|
|
101
|
+
Resource,
|
|
121
102
|
Schedule,
|
|
122
103
|
andThen,
|
|
104
|
+
bracket,
|
|
105
|
+
buildLayer,
|
|
106
|
+
compose,
|
|
107
|
+
composeAll,
|
|
123
108
|
contramap,
|
|
109
|
+
defineLayer,
|
|
110
|
+
defineService,
|
|
124
111
|
elapsed,
|
|
112
|
+
ensuring,
|
|
125
113
|
exponential,
|
|
126
114
|
fibonacci,
|
|
127
115
|
fixed,
|
|
128
116
|
forever,
|
|
117
|
+
formatLayerError,
|
|
118
|
+
getService,
|
|
119
|
+
getServices,
|
|
129
120
|
intersect,
|
|
130
121
|
jitter,
|
|
131
122
|
jittered,
|
|
132
123
|
jitteredSchedule,
|
|
124
|
+
layer,
|
|
125
|
+
layerEffect,
|
|
126
|
+
layerFail,
|
|
127
|
+
layerFrom,
|
|
128
|
+
layerFromContext,
|
|
129
|
+
layerSucceed,
|
|
130
|
+
layerValue,
|
|
133
131
|
linear,
|
|
132
|
+
makeLayerScope,
|
|
133
|
+
makeResource,
|
|
134
134
|
makeScheduleDriver,
|
|
135
|
+
makeServiceTag,
|
|
136
|
+
makeTestLayer,
|
|
137
|
+
makeTestLayers,
|
|
138
|
+
managed,
|
|
139
|
+
managedAll,
|
|
135
140
|
map as map2,
|
|
141
|
+
mapLayer,
|
|
136
142
|
maxDelay,
|
|
137
143
|
maxElapsed,
|
|
144
|
+
merge,
|
|
145
|
+
mergeAll,
|
|
138
146
|
named,
|
|
139
147
|
never,
|
|
140
148
|
once,
|
|
141
149
|
poll,
|
|
150
|
+
provide,
|
|
151
|
+
provideContext,
|
|
152
|
+
provideLayer,
|
|
153
|
+
provideLayerContext,
|
|
142
154
|
recurs,
|
|
143
155
|
repeat,
|
|
144
156
|
repeatWithSchedule,
|
|
157
|
+
resource,
|
|
158
|
+
resourceAll,
|
|
159
|
+
resourceFromManaged,
|
|
160
|
+
resourceSucceed,
|
|
145
161
|
retry,
|
|
146
162
|
retry2,
|
|
147
163
|
retryN,
|
|
@@ -149,6 +165,7 @@ import {
|
|
|
149
165
|
retryWithSchedule,
|
|
150
166
|
runSchedule,
|
|
151
167
|
scheduleDriver,
|
|
168
|
+
serviceTag,
|
|
152
169
|
sleep,
|
|
153
170
|
spaced,
|
|
154
171
|
take,
|
|
@@ -158,23 +175,14 @@ import {
|
|
|
158
175
|
untilInput,
|
|
159
176
|
untilOutput,
|
|
160
177
|
upTo,
|
|
178
|
+
useManaged,
|
|
179
|
+
useResource,
|
|
180
|
+
useService,
|
|
181
|
+
useServices,
|
|
161
182
|
whileInput,
|
|
162
183
|
whileOutput,
|
|
163
184
|
windowed
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import {
|
|
166
|
-
Scope,
|
|
167
|
-
withScope,
|
|
168
|
-
withScopeAsync
|
|
169
|
-
} from "./chunk-L2SYFEBS.js";
|
|
170
|
-
import {
|
|
171
|
-
EventBus,
|
|
172
|
-
InMemoryTracer,
|
|
173
|
-
makeMetrics,
|
|
174
|
-
makeRuntimeEventRecord,
|
|
175
|
-
runtimeEventRecordContext,
|
|
176
|
-
runtimeHooksToEventHandler
|
|
177
|
-
} from "./chunk-RKGKFN2A.js";
|
|
185
|
+
} from "./chunk-IBRHSH5H.js";
|
|
178
186
|
import {
|
|
179
187
|
ABI_VERSION,
|
|
180
188
|
DefaultHostExecutor,
|
|
@@ -192,6 +200,7 @@ import {
|
|
|
192
200
|
Runtime,
|
|
193
201
|
RuntimeFiber,
|
|
194
202
|
Scheduler,
|
|
203
|
+
Scope,
|
|
195
204
|
WasmFiberEngine,
|
|
196
205
|
WasmFiberRegistryBridge,
|
|
197
206
|
WasmPackFiberBridge,
|
|
@@ -225,8 +234,10 @@ import {
|
|
|
225
234
|
unsafeGetCurrentRuntime,
|
|
226
235
|
unsafeRunAsync,
|
|
227
236
|
unsafeRunFoldWithEnv,
|
|
228
|
-
withCurrentFiber
|
|
229
|
-
|
|
237
|
+
withCurrentFiber,
|
|
238
|
+
withScope,
|
|
239
|
+
withScopeAsync
|
|
240
|
+
} from "./chunk-XSAHV5HQ.js";
|
|
230
241
|
import {
|
|
231
242
|
Async,
|
|
232
243
|
Cause,
|
|
@@ -265,7 +276,7 @@ import {
|
|
|
265
276
|
unit,
|
|
266
277
|
withAsyncPromise
|
|
267
278
|
} from "./chunk-UB4B6OFY.js";
|
|
268
|
-
import "./chunk-
|
|
279
|
+
import "./chunk-HCJ4S3YB.js";
|
|
269
280
|
import "./chunk-3RG5ZIWI.js";
|
|
270
281
|
|
|
271
282
|
// src/core/stream/queue.ts
|
|
@@ -1537,6 +1548,7 @@ export {
|
|
|
1537
1548
|
Runtime,
|
|
1538
1549
|
RuntimeFiber,
|
|
1539
1550
|
RuntimeRegistry,
|
|
1551
|
+
RuntimeService,
|
|
1540
1552
|
Schedule,
|
|
1541
1553
|
Scheduler,
|
|
1542
1554
|
Scope,
|
|
@@ -1584,6 +1596,7 @@ export {
|
|
|
1584
1596
|
collectAllPar,
|
|
1585
1597
|
collectStream,
|
|
1586
1598
|
compose2 as compose,
|
|
1599
|
+
composeAll,
|
|
1587
1600
|
compose as composeLayer,
|
|
1588
1601
|
concatStream,
|
|
1589
1602
|
consoleJsonLogger,
|
|
@@ -1594,6 +1607,7 @@ export {
|
|
|
1594
1607
|
decodeEvent,
|
|
1595
1608
|
decodeEventBatch,
|
|
1596
1609
|
defaultTracer,
|
|
1610
|
+
defineConfigLayer,
|
|
1597
1611
|
defineLayer,
|
|
1598
1612
|
defineService,
|
|
1599
1613
|
delayedEffect,
|
|
@@ -1635,6 +1649,7 @@ export {
|
|
|
1635
1649
|
getCurrentFiber,
|
|
1636
1650
|
getFiberRef,
|
|
1637
1651
|
getService,
|
|
1652
|
+
getServices,
|
|
1638
1653
|
getStats,
|
|
1639
1654
|
globalScheduler,
|
|
1640
1655
|
gracefulShutdown,
|
|
@@ -1668,6 +1683,7 @@ export {
|
|
|
1668
1683
|
makeBoundedRingBuffer,
|
|
1669
1684
|
makeCancelToken,
|
|
1670
1685
|
makeCircuitBreaker,
|
|
1686
|
+
makeConfigLayer,
|
|
1671
1687
|
makeFiberReadyQueue,
|
|
1672
1688
|
makeFiberRef,
|
|
1673
1689
|
makeHub,
|
|
@@ -1677,12 +1693,15 @@ export {
|
|
|
1677
1693
|
makeResource,
|
|
1678
1694
|
makeRuntime,
|
|
1679
1695
|
makeRuntimeEventRecord,
|
|
1696
|
+
makeRuntimeLayer,
|
|
1680
1697
|
makeRuntimeRecorder,
|
|
1681
1698
|
makeScheduleDriver,
|
|
1682
1699
|
makeSemaphore,
|
|
1683
1700
|
makeServiceTag,
|
|
1684
1701
|
makeStreamChunker,
|
|
1685
1702
|
makeSupervisor,
|
|
1703
|
+
makeTestLayer,
|
|
1704
|
+
makeTestLayers,
|
|
1686
1705
|
makeTestRuntime,
|
|
1687
1706
|
makeTracer,
|
|
1688
1707
|
makeWorkerPool,
|
|
@@ -1705,6 +1724,7 @@ export {
|
|
|
1705
1724
|
maxDelay,
|
|
1706
1725
|
maxElapsed,
|
|
1707
1726
|
merge2 as merge,
|
|
1727
|
+
mergeAll,
|
|
1708
1728
|
merge as mergeLayer,
|
|
1709
1729
|
mergeStream,
|
|
1710
1730
|
modifyFiberRef,
|
|
@@ -1792,6 +1812,8 @@ export {
|
|
|
1792
1812
|
updateFiberRef,
|
|
1793
1813
|
useManaged,
|
|
1794
1814
|
useResource,
|
|
1815
|
+
useService,
|
|
1816
|
+
useServices,
|
|
1795
1817
|
via,
|
|
1796
1818
|
whileInput,
|
|
1797
1819
|
whileOutput,
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Layer,
|
|
3
|
-
LayerContext,
|
|
4
2
|
LinkedQueue,
|
|
5
|
-
MissingLayerServiceError,
|
|
6
3
|
RuntimeRegistry,
|
|
7
4
|
Supervisor,
|
|
8
5
|
TestClock,
|
|
@@ -11,72 +8,40 @@ import {
|
|
|
11
8
|
assertFails,
|
|
12
9
|
assertFailsWith,
|
|
13
10
|
assertSucceeds,
|
|
14
|
-
buildLayer,
|
|
15
11
|
catchTag,
|
|
16
12
|
catchTags,
|
|
17
|
-
compose,
|
|
18
13
|
consoleJsonLogger,
|
|
19
14
|
defaultTracer,
|
|
20
|
-
|
|
21
|
-
defineService,
|
|
15
|
+
defineConfigLayer,
|
|
22
16
|
delayedEffect,
|
|
23
17
|
derivedRef,
|
|
24
18
|
dumpAllFibers,
|
|
25
19
|
flakyEffect,
|
|
26
|
-
formatLayerError,
|
|
27
|
-
getService,
|
|
28
20
|
gracefulShutdown,
|
|
29
21
|
joinSupervised,
|
|
30
|
-
layer,
|
|
31
|
-
layerEffect,
|
|
32
|
-
layerFail,
|
|
33
|
-
layerFrom,
|
|
34
|
-
layerFromContext,
|
|
35
|
-
layerSucceed,
|
|
36
|
-
layerValue,
|
|
37
22
|
linkAbortController,
|
|
38
23
|
makeCancelToken,
|
|
39
|
-
|
|
24
|
+
makeConfigLayer,
|
|
40
25
|
makeRef,
|
|
41
26
|
makeRuntime,
|
|
42
27
|
makeSemaphore,
|
|
43
|
-
makeServiceTag,
|
|
44
28
|
makeSupervisor,
|
|
45
29
|
makeTestRuntime,
|
|
46
30
|
makeTracer,
|
|
47
31
|
makeWorkerPool,
|
|
48
32
|
mapError as mapError2,
|
|
49
|
-
mapLayer,
|
|
50
|
-
merge,
|
|
51
33
|
neverEffect,
|
|
52
34
|
orElse,
|
|
53
|
-
provide,
|
|
54
|
-
provideContext,
|
|
55
|
-
provideLayer,
|
|
56
|
-
provideLayerContext,
|
|
57
35
|
registerShutdownHooks,
|
|
58
36
|
runEffect,
|
|
59
37
|
runExit,
|
|
60
38
|
runPromise,
|
|
61
|
-
serviceTag,
|
|
62
39
|
supervise,
|
|
63
40
|
tagError
|
|
64
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QZ6QFJNM.mjs";
|
|
65
42
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
ensuring,
|
|
69
|
-
makeCircuitBreaker,
|
|
70
|
-
makeResource,
|
|
71
|
-
managed,
|
|
72
|
-
managedAll,
|
|
73
|
-
resource,
|
|
74
|
-
resourceAll,
|
|
75
|
-
resourceFromManaged,
|
|
76
|
-
resourceSucceed,
|
|
77
|
-
useManaged,
|
|
78
|
-
useResource
|
|
79
|
-
} from "./chunk-KN32XNTH.mjs";
|
|
43
|
+
makeCircuitBreaker
|
|
44
|
+
} from "./chunk-KTGDLBLD.mjs";
|
|
80
45
|
import {
|
|
81
46
|
fiberRefSnapshot,
|
|
82
47
|
getFiberRef,
|
|
@@ -89,7 +54,19 @@ import {
|
|
|
89
54
|
unsafeGetFiberRef,
|
|
90
55
|
unsafeSetFiberRef,
|
|
91
56
|
updateFiberRef
|
|
92
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-G5JTCFMI.mjs";
|
|
58
|
+
import {
|
|
59
|
+
RuntimeService,
|
|
60
|
+
makeRuntimeLayer
|
|
61
|
+
} from "./chunk-ITZQ526U.mjs";
|
|
62
|
+
import {
|
|
63
|
+
EventBus,
|
|
64
|
+
InMemoryTracer,
|
|
65
|
+
makeMetrics,
|
|
66
|
+
makeRuntimeEventRecord,
|
|
67
|
+
runtimeEventRecordContext,
|
|
68
|
+
runtimeHooksToEventHandler
|
|
69
|
+
} from "./chunk-OT2TESZU.mjs";
|
|
93
70
|
import {
|
|
94
71
|
assertNever,
|
|
95
72
|
collectStream,
|
|
@@ -110,7 +87,7 @@ import {
|
|
|
110
87
|
unwrapScoped,
|
|
111
88
|
widenOpt,
|
|
112
89
|
zip
|
|
113
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-RREBJX2S.mjs";
|
|
114
91
|
import {
|
|
115
92
|
collectAllPar,
|
|
116
93
|
race,
|
|
@@ -118,30 +95,69 @@ import {
|
|
|
118
95
|
zipPar
|
|
119
96
|
} from "./chunk-B5JD23U7.mjs";
|
|
120
97
|
import {
|
|
98
|
+
Layer,
|
|
99
|
+
LayerContext,
|
|
100
|
+
MissingLayerServiceError,
|
|
101
|
+
Resource,
|
|
121
102
|
Schedule,
|
|
122
103
|
andThen,
|
|
104
|
+
bracket,
|
|
105
|
+
buildLayer,
|
|
106
|
+
compose,
|
|
107
|
+
composeAll,
|
|
123
108
|
contramap,
|
|
109
|
+
defineLayer,
|
|
110
|
+
defineService,
|
|
124
111
|
elapsed,
|
|
112
|
+
ensuring,
|
|
125
113
|
exponential,
|
|
126
114
|
fibonacci,
|
|
127
115
|
fixed,
|
|
128
116
|
forever,
|
|
117
|
+
formatLayerError,
|
|
118
|
+
getService,
|
|
119
|
+
getServices,
|
|
129
120
|
intersect,
|
|
130
121
|
jitter,
|
|
131
122
|
jittered,
|
|
132
123
|
jitteredSchedule,
|
|
124
|
+
layer,
|
|
125
|
+
layerEffect,
|
|
126
|
+
layerFail,
|
|
127
|
+
layerFrom,
|
|
128
|
+
layerFromContext,
|
|
129
|
+
layerSucceed,
|
|
130
|
+
layerValue,
|
|
133
131
|
linear,
|
|
132
|
+
makeLayerScope,
|
|
133
|
+
makeResource,
|
|
134
134
|
makeScheduleDriver,
|
|
135
|
+
makeServiceTag,
|
|
136
|
+
makeTestLayer,
|
|
137
|
+
makeTestLayers,
|
|
138
|
+
managed,
|
|
139
|
+
managedAll,
|
|
135
140
|
map as map2,
|
|
141
|
+
mapLayer,
|
|
136
142
|
maxDelay,
|
|
137
143
|
maxElapsed,
|
|
144
|
+
merge,
|
|
145
|
+
mergeAll,
|
|
138
146
|
named,
|
|
139
147
|
never,
|
|
140
148
|
once,
|
|
141
149
|
poll,
|
|
150
|
+
provide,
|
|
151
|
+
provideContext,
|
|
152
|
+
provideLayer,
|
|
153
|
+
provideLayerContext,
|
|
142
154
|
recurs,
|
|
143
155
|
repeat,
|
|
144
156
|
repeatWithSchedule,
|
|
157
|
+
resource,
|
|
158
|
+
resourceAll,
|
|
159
|
+
resourceFromManaged,
|
|
160
|
+
resourceSucceed,
|
|
145
161
|
retry,
|
|
146
162
|
retry2,
|
|
147
163
|
retryN,
|
|
@@ -149,6 +165,7 @@ import {
|
|
|
149
165
|
retryWithSchedule,
|
|
150
166
|
runSchedule,
|
|
151
167
|
scheduleDriver,
|
|
168
|
+
serviceTag,
|
|
152
169
|
sleep,
|
|
153
170
|
spaced,
|
|
154
171
|
take,
|
|
@@ -158,23 +175,14 @@ import {
|
|
|
158
175
|
untilInput,
|
|
159
176
|
untilOutput,
|
|
160
177
|
upTo,
|
|
178
|
+
useManaged,
|
|
179
|
+
useResource,
|
|
180
|
+
useService,
|
|
181
|
+
useServices,
|
|
161
182
|
whileInput,
|
|
162
183
|
whileOutput,
|
|
163
184
|
windowed
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import {
|
|
166
|
-
Scope,
|
|
167
|
-
withScope,
|
|
168
|
-
withScopeAsync
|
|
169
|
-
} from "./chunk-A2OM6NEH.mjs";
|
|
170
|
-
import {
|
|
171
|
-
EventBus,
|
|
172
|
-
InMemoryTracer,
|
|
173
|
-
makeMetrics,
|
|
174
|
-
makeRuntimeEventRecord,
|
|
175
|
-
runtimeEventRecordContext,
|
|
176
|
-
runtimeHooksToEventHandler
|
|
177
|
-
} from "./chunk-EJ6BPYVR.mjs";
|
|
185
|
+
} from "./chunk-ELLF55ER.mjs";
|
|
178
186
|
import {
|
|
179
187
|
ABI_VERSION,
|
|
180
188
|
DefaultHostExecutor,
|
|
@@ -192,6 +200,7 @@ import {
|
|
|
192
200
|
Runtime,
|
|
193
201
|
RuntimeFiber,
|
|
194
202
|
Scheduler,
|
|
203
|
+
Scope,
|
|
195
204
|
WasmFiberEngine,
|
|
196
205
|
WasmFiberRegistryBridge,
|
|
197
206
|
WasmPackFiberBridge,
|
|
@@ -225,8 +234,10 @@ import {
|
|
|
225
234
|
unsafeGetCurrentRuntime,
|
|
226
235
|
unsafeRunAsync,
|
|
227
236
|
unsafeRunFoldWithEnv,
|
|
228
|
-
withCurrentFiber
|
|
229
|
-
|
|
237
|
+
withCurrentFiber,
|
|
238
|
+
withScope,
|
|
239
|
+
withScopeAsync
|
|
240
|
+
} from "./chunk-2QNREG6K.mjs";
|
|
230
241
|
import {
|
|
231
242
|
Async,
|
|
232
243
|
Cause,
|
|
@@ -265,7 +276,7 @@ import {
|
|
|
265
276
|
unit,
|
|
266
277
|
withAsyncPromise
|
|
267
278
|
} from "./chunk-36I3M4UC.mjs";
|
|
268
|
-
import "./chunk-
|
|
279
|
+
import "./chunk-6MLAZPBL.mjs";
|
|
269
280
|
import "./chunk-Y6FXYEAI.mjs";
|
|
270
281
|
|
|
271
282
|
// src/core/stream/queue.ts
|
|
@@ -1537,6 +1548,7 @@ export {
|
|
|
1537
1548
|
Runtime,
|
|
1538
1549
|
RuntimeFiber,
|
|
1539
1550
|
RuntimeRegistry,
|
|
1551
|
+
RuntimeService,
|
|
1540
1552
|
Schedule,
|
|
1541
1553
|
Scheduler,
|
|
1542
1554
|
Scope,
|
|
@@ -1584,6 +1596,7 @@ export {
|
|
|
1584
1596
|
collectAllPar,
|
|
1585
1597
|
collectStream,
|
|
1586
1598
|
compose2 as compose,
|
|
1599
|
+
composeAll,
|
|
1587
1600
|
compose as composeLayer,
|
|
1588
1601
|
concatStream,
|
|
1589
1602
|
consoleJsonLogger,
|
|
@@ -1594,6 +1607,7 @@ export {
|
|
|
1594
1607
|
decodeEvent,
|
|
1595
1608
|
decodeEventBatch,
|
|
1596
1609
|
defaultTracer,
|
|
1610
|
+
defineConfigLayer,
|
|
1597
1611
|
defineLayer,
|
|
1598
1612
|
defineService,
|
|
1599
1613
|
delayedEffect,
|
|
@@ -1635,6 +1649,7 @@ export {
|
|
|
1635
1649
|
getCurrentFiber,
|
|
1636
1650
|
getFiberRef,
|
|
1637
1651
|
getService,
|
|
1652
|
+
getServices,
|
|
1638
1653
|
getStats,
|
|
1639
1654
|
globalScheduler,
|
|
1640
1655
|
gracefulShutdown,
|
|
@@ -1668,6 +1683,7 @@ export {
|
|
|
1668
1683
|
makeBoundedRingBuffer,
|
|
1669
1684
|
makeCancelToken,
|
|
1670
1685
|
makeCircuitBreaker,
|
|
1686
|
+
makeConfigLayer,
|
|
1671
1687
|
makeFiberReadyQueue,
|
|
1672
1688
|
makeFiberRef,
|
|
1673
1689
|
makeHub,
|
|
@@ -1677,12 +1693,15 @@ export {
|
|
|
1677
1693
|
makeResource,
|
|
1678
1694
|
makeRuntime,
|
|
1679
1695
|
makeRuntimeEventRecord,
|
|
1696
|
+
makeRuntimeLayer,
|
|
1680
1697
|
makeRuntimeRecorder,
|
|
1681
1698
|
makeScheduleDriver,
|
|
1682
1699
|
makeSemaphore,
|
|
1683
1700
|
makeServiceTag,
|
|
1684
1701
|
makeStreamChunker,
|
|
1685
1702
|
makeSupervisor,
|
|
1703
|
+
makeTestLayer,
|
|
1704
|
+
makeTestLayers,
|
|
1686
1705
|
makeTestRuntime,
|
|
1687
1706
|
makeTracer,
|
|
1688
1707
|
makeWorkerPool,
|
|
@@ -1705,6 +1724,7 @@ export {
|
|
|
1705
1724
|
maxDelay,
|
|
1706
1725
|
maxElapsed,
|
|
1707
1726
|
merge2 as merge,
|
|
1727
|
+
mergeAll,
|
|
1708
1728
|
merge as mergeLayer,
|
|
1709
1729
|
mergeStream,
|
|
1710
1730
|
modifyFiberRef,
|
|
@@ -1792,6 +1812,8 @@ export {
|
|
|
1792
1812
|
updateFiberRef,
|
|
1793
1813
|
useManaged,
|
|
1794
1814
|
useResource,
|
|
1815
|
+
useService,
|
|
1816
|
+
useServices,
|
|
1795
1817
|
via,
|
|
1796
1818
|
whileInput,
|
|
1797
1819
|
whileOutput,
|