API Reference
Axial
App
ModuleStarts and controls root Flow applications without requiring an external hosting framework.
Bind
ModuleCreates error-adaptation markers for let!, do!, and return!
Builders
ModuleNo description available.
Cause
ModuleNo description available.
ColdTask
ModuleFunctions for creating and executing cold tasks.
Deferred
ModuleFlow-native helpers for one-shot typed coordination.
Exit
ModuleNo description available.
Fiber
ModuleNo description available.
FiberDump
ModuleSnapshot conversion and rendering for fiber dumps.
FiberObserver
ModuleStandard fiber observers.
Flow
ModuleNo description available.
FlowStream
ModuleNo description available.
Policy
ModuleConstructors and combinators for environment-aware workflow requirements.
RetryPolicy
ModuleStandard retry policies for runtime helpers.
Schedule
ModuleNo description available.
Semaphore
ModuleFlow-native semaphore helpers.
SupervisePolicy
ModuleStandard supervision policies for runtime helpers.
State
NamespaceNo description available.
Ref
ModuleNo description available.
STM
ModuleNo description available.
StmBuilders
ModuleNo description available.
TRef
ModuleNo description available.
Ref<'T>
UnionRepresents a handle to a mutable reference that can be updated atomically.
STM<'T>
UnionRepresents a transactional operation that can be composed, retried, and executed atomically.
StmBuilder
TypeComputation expression builder for STM transactions.
TRef<'T>
TypeRepresents a transactional reference that can be updated atomically within an transaction.
Telemetry
NamespaceNo description available.
AttributeKey
ModuleCreates typed keys for application-defined telemetry attributes.
Context
ModuleBuilds and scopes ambient telemetry attributes for Axial workflows.
Keys
ModuleContains typed keys for the curated OpenTelemetry semantic conventions exposed by Axial.
Attribute
RecordOne telemetry attribute whose key has already validated its value type.
AttributeKey<'value>
RecordA typed name for one telemetry attribute.
AttributeValue
UnionAn OpenTelemetry-compatible attribute value supported on both .NET and JavaScript.
TelemetryContext
UnionAn immutable set of telemetry attributes propagated with a running workflow.
AppHandle<'error, 'value>
TypeOwns one running root workflow and provides coordinated application shutdown.
AppStatus
UnionDescribes the lifecycle state of a running application.
BindError<'env, 'error, 'value>
UnionMarks a source whose error is adapted at a flow { } bind site.
Cause<'error>
UnionRepresents the cause of a failed workflow.
ColdTask<'value>
UnionRepresents delayed task work that can observe a runtime cancellation token when it is started.
Deferred<'error, 'value>
UnionA one-shot, typed handoff point that can be completed exactly once with a full Exit.
EnvFlow<'env, 'value>
TypeA flow that reads an environment and cannot fail with a typed error.
Exit<'value, 'error>
UnionRepresents the final outcome of a workflow execution.
ExnEnvFlow<'env, 'value>
TypeA flow that reads an environment and uses exceptions as recoverable typed errors.
ExnFlow<'value>
TypeA flow that requires no environment and uses exceptions as recoverable typed errors.
Fiber<'error, 'value>
RecordRepresents a handle to a workflow that has already been started.
FiberDump
RecordStructured diagnostic snapshot of a fiber, taken at a single point in time.
FiberId
UnionUnique identifier for a running fiber.
FiberMetadata
RecordDiagnostic metadata for a running fiber.
FiberObserver
RecordRuntime hooks observing fiber lifecycle events for diagnostics and telemetry.
FiberRegistry
TypeTracks every live forked fiber so the whole runtime can be dumped as a parent/child tree at any moment.
FiberStatus
UnionDescribes the current lifecycle state of a fiber.
Flow<'env, 'error, 'value>
UnionRepresents a cold workflow that reads an environment, returns a typed result, and is executed explicitly through one of its execution members such as ToTask, ToAsync, or RunSynchronously.
Flow<'value>
TypeA flow that requires no environment and cannot fail with a typed error.
Flow<'error, 'value>
TypeA flow that requires no environment and can fail with a typed error.
FlowBuilder
TypeNo description available.
FlowSemaphore
UnionA Flow-native semaphore handle used to limit concurrent workflow sections.
FlowStream<'env, 'error, 'value>
UnionRepresents a cold stream of values that requires an environment, can fail with a typed error, and supports backpressure.
LogLevel
UnionLog levels used by runtime logging helpers and environment-provided logging functions.
Never
UnionRepresents an error channel that cannot occur.
Policy<'env, 'error, 'input, 'output>
TypeRepresents an environment-aware requirement that turns an input into either an output or a workflow error.
RetryPolicy<'error>
RecordDefines how runtime retry helpers repeat typed failures in a controlled way.
Schedule<'env, 'input, 'output>
UnionRepresents a stateful schedule that can decide whether to continue and how long to delay.
Scope
TypeOwns finalizers for resources acquired during provisioning or runtime execution.
ServiceProvider
TypeReads services from an environment.
StreamStep<'value, 'error>
UnionA single step of a : either the stream is exhausted, or it produced one value plus a thunk that continues the stream.
SupervisePolicy
RecordDefines how Flow.Runtime.supervise restarts flows that terminate with unexpected defects.
Axial.Layers
Axial.PlatformService
PlatformService
NamespaceNo description available.
BaseRuntime
ModuleHelpers for constructing the standard explicit service bundle used by workflow hosts.
Clock
ModuleHelpers for the clock service.
EnvironmentVariable
ModuleHelpers for reading and parsing environment variables through an explicit service.
EnvironmentVariableErrors
ModuleHelpers for formatting environment-variable errors.
EnvironmentVariables
ModuleHelpers for the environment-variable service.
Guid
ModuleHelpers for the GUID service.
Log
ModuleHelpers for the logging service.
Random
ModuleHelpers for the random-number service.
BaseRuntime
RecordGroups the standard operational services commonly used by workflow hosts.
BaseRuntimeError
UnionNo description available.
EnvironmentVariableError
UnionNo description available.
IClock
TypeProvides synchronous access to the current UTC clock.
IEnvironmentVariables
TypeProvides environment-variable access supplied by the application host.
IGuid
TypeProvides synchronous GUID generation.
IHasClock
TypeDeclares that an environment supplies the clock service.
IHasEnvironmentVariables
TypeDeclares that an environment supplies the environment-variable service.
IHasGuid
TypeDeclares that an environment supplies the GUID service.
IHasLog
TypeDeclares that an environment supplies the logging service.
IHasRandom
TypeDeclares that an environment supplies the random-number service.
ILog
TypeProvides synchronous access to workflow logging as an explicit service.
IRandom
TypeProvides synchronous random-number generation.
Axial.Console
Axial.FileSystem
Axial.HttpClient
HttpClient
NamespaceNo description available.
DSL
ModuleNo description available.
SecretValue
TypeMarks an interpolated URL value for redaction in plans and transcripts.
Http
ModuleNo description available.
HttpError
ModuleNo description available.
Method
ModuleNo description available.
Request
ModuleNo description available.
Response
ModuleNo description available.
HttpError
UnionA recoverable HTTP transport, timeout, status, or decoding failure.
HttpRequest
RecordAn immutable, fully described HTTP request.
HttpResponse
RecordThe complete response transcript for one HTTP exchange.
IHasHttp
TypeDeclares that an environment supplies the HTTP service.
IHttp
TypeSends fully described HTTP requests for a concrete host platform.
Method
UnionIdentifies one HTTP request method.
RequestBody
UnionSupplies the request payload and its media type.
RequestPlan
RecordA redacted, serializable description of a request that would be sent.
StatusExpectation
UnionDecides which response status codes count as success for a request.
Axial.Process
Process
NamespaceNo description available.
DSL
ModuleNo description available.
Input
ModuleNo description available.
Output
ModuleNo description available.
EndpointConnector
TypeNo description available.
SecretArgument
TypeMarks an interpolated command value for redaction in plans and transcripts.
Process
ModuleNo description available.
ProcessError
ModuleNo description available.
Script
ModuleNo description available.
CapturedOutput
RecordExact captured bytes plus their decoded text view and truncation status.
IHasProcess
TypeDeclares that an environment supplies the process service.
IProcess
TypeInterprets process specifications as lazy Axial workflows for a concrete host platform.
InputSource
UnionSupplies bytes to the first process stage.
OutputChannel
UnionIdentifies one standard output channel.
OutputFraming
UnionSelects arbitrary decoded chunks or complete decoded lines for streamed events.
OutputTarget
UnionReceives bytes from a process topology.
ProcessCancellation
RecordDiagnostic details for caller-initiated process cancellation.
ProcessError
UnionA recoverable process startup, cancellation, stage, or I/O failure.
ProcessEvent
UnionValues emitted by a native process FlowStream.
ProcessIoFailure
RecordDiagnostic details for a process I/O failure.
ProcessOutput
RecordA timestamped decoded output event attributed to one specification stage.
ProcessPlan
RecordA redacted, serializable description of work that would be executed.
ProcessResult
RecordThe complete structured transcript returned by a process execution.
ProcessSpec
RecordAn immutable description of one command or a connected process topology and its execution policy.
ProcessStartFailure
RecordDiagnostic details for a process that could not be started.
ProcessTimeout
RecordDiagnostic details for an elapsed process deadline.
ScriptEnvironment
RecordNo description available.
StageFailure
RecordDiagnostic details for an unsuccessful process stage.
StageResult
RecordThe redacted command, exit decision, timing, and diagnostic stderr tail for one stage.
Axial.Hosting
Hosting
NamespaceNo description available.
DotNetApp
ModuleStandalone .NET process integration for Flow applications that do not use Generic Host.
FiberLogging
ModuleFiber-lifecycle logging through Microsoft.Extensions.Logging.
Hosting
ModuleMicrosoft Generic Host registration helpers for root Flow applications.
MicrosoftLogging
ModuleAdapts Microsoft.Extensions.Logging loggers to Axial's explicit logging service.
FlowHostedService<'env, 'error>
TypeRuns one root Flow application as a Microsoft Generic Host hosted service.
HostedAppOptions
RecordControls how a root Flow application participates in Generic Host lifetime.
Axial.Hosting.Node
Axial.Hosting.Browser
Axial.Telemetry
Telemetry
NamespaceNo description available.
Activity
ModuleNo description available.
ActivityTracer
ModuleCreates values.
FiberDumpTelemetry
ModuleExports structured fiber dumps into traces.
FiberMetrics
ModuleOpenTelemetry-compatible fiber runtime metrics on the Axial meter.
FiberTelemetry
ModuleTelemetry wiring for runtime fiber-lifecycle observation.
ActivityTracer
TypeCaptures an application-owned ActivitySource so application code can trace its own workflows without repeating the source at every call site.
Axial.Telemetry.JavaScript
Telemetry
NamespaceNo description available.
JavaScript
NamespaceNo description available.
FiberTelemetry
ModuleFiber-lifecycle observability on the installed OpenTelemetry tracer: the JavaScript counterpart of the .NET package's FiberTelemetry, with the same span names and attribute vocabulary.
Otel
ModuleOpenTelemetry JS tracing for Axial workflows compiled with Fable: the JavaScript counterpart of the .NET package's Activity.trace, emitting through a host-supplied @opentelemetry/api object.
ContextApi
TypeThe subset of the OpenTelemetry JS `context` api namespace this package calls.
OpenTelemetryApi
TypeThe `@opentelemetry/api` module surface this package consumes: its `trace` and `context` namespaces.
OtelContext
TypeAn opaque OpenTelemetry JS `Context`.
Span
TypeThe subset of the OpenTelemetry JS `Span` interface this package writes to.
TraceApi
TypeThe subset of the OpenTelemetry JS `trace` api namespace this package calls.
Tracer
TypeThe subset of the OpenTelemetry JS `Tracer` interface this package calls.

