server-core/core
packages/server/src/core
Purpose
Narrow core wiring barrel for server-core internals.Public surface
ConnectionHook
TypeAlias
ConnectionHooks
Interface
ConnectionHooksTag
Class
CoreApp
Interface
createCoreApp
Function
DisconnectionHook
TypeAlias
makeTracingLayer
Function
readDefaultSpanProcessor
Variable
BatchSpanProcessor wrapping an OTLPTraceExporter pointed at the resolved
traces URL. The trace-specific OTEL_EXPORTER_OTLP_TRACES_ENDPOINT takes
precedence over the base OTEL_EXPORTER_OTLP_ENDPOINT. If neither is set,
returns null — the caller falls through to a no-op tracing Layer (spans
stay in Effect’s fiber context but are not exported).
ResolvedServices
Interface
resolveServices
Variable
resolveTracesEndpoint
Function
ServerBootFailedError
Class
phase discriminator names
which boot step failed:
"http-listen"— step 5a’sNodeHttpServer.make/serverSvc.servetypedServeError(EADDRINUSE, EACCES, …)."default-app-connect"— step 5c’sstartDefaultAppBootDefaultAppError(wrappingclient.connect()’sConnectError).
installDefaultApp has error channel never; SQL faults defect
and flow through the boot-failure catchAllCause envelope without a phase
tag.
ServicesLive
Variable
Files
app.tshooks.tslayers.tstracing.tstypes.ts