API Reference

Axial

App

Starts and controls root Flow applications without requiring an external hosting framework.

Bind

Creates error-adaptation markers for let!, do!, and return!

Builders

No description available.

Cause

Represents the cause of a failed workflow.

ColdTask

Functions for creating and executing cold tasks.

Deferred

Flow-native helpers for one-shot typed coordination.

Exit

Represents the final outcome of a workflow execution.

Fiber

Represents a handle to a workflow that has already been started.

FiberDump

Snapshot conversion and rendering for fiber dumps.

FiberObserver

Standard fiber observers.

Flow

Represents 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.

Runtime

Runtime helpers for execution-time concerns like cancellation, scope, timeout, retry, and cleanup.

FlowStream

Represents a cold stream of values that requires an environment, can fail with a typed error, and supports backpressure.

Policy

Constructors and combinators for environment-aware workflow requirements.

RetryPolicy

Standard retry policies for runtime helpers.

Schedule

Represents a stateful schedule that can decide whether to continue and how long to delay.

Semaphore

Flow-native semaphore helpers.

SupervisePolicy

Standard supervision policies for runtime helpers.

Ref

Represents a handle to a mutable reference that can be updated atomically.

STM

Represents a transactional operation that can be composed, retried, and executed atomically.

StmBuilders

No description available.

TRef

Represents a transactional reference that can be updated atomically within an STM transaction.

StmBuilder

Computation expression builder for STM transactions.

AttributeKey

Creates typed keys for application-defined telemetry attributes.

Context

Builds and scopes ambient telemetry attributes for Axial workflows.

Keys

Contains typed keys for the curated OpenTelemetry semantic conventions exposed by Axial.

Attribute

One telemetry attribute whose key has already validated its value type.

AttributeValue

An OpenTelemetry-compatible attribute value supported on both .NET and JavaScript.

TelemetryContext

An immutable set of telemetry attributes propagated with a running workflow.

AppHandle<'error, 'value>

Owns one running root workflow and provides coordinated application shutdown.

AppStatus

Describes the lifecycle state of a running application.

BindError<'env, 'error, 'value>

Marks a source whose error is adapted at a flow { } bind site.

EnvFlow<'env, 'value>

A flow that reads an environment and cannot fail with a typed error.

ExnEnvFlow<'env, 'value>

A flow that reads an environment and uses exceptions as recoverable typed errors.

ExnFlow<'value>

A flow that requires no environment and uses exceptions as recoverable typed errors.

FiberId

Unique identifier for a running fiber.

FiberMetadata

Diagnostic metadata for a running fiber.

FiberRegistry

Tracks every live forked fiber so the whole runtime can be dumped as a parent/child tree at any moment.

FiberStatus

Describes the current lifecycle state of a fiber.

FlowBuilder

No description available.

FlowSemaphore

A Flow-native semaphore handle used to limit concurrent workflow sections.

LogLevel

Log levels used by runtime logging helpers and environment-provided logging functions.

Never

Represents an error channel that cannot occur.

Scope

Owns finalizers for resources acquired during provisioning or runtime execution.

ServiceProvider

Reads services from an IServiceProvider environment.

StreamStep<'value, 'error>

A single step of a FlowStream: either the stream is exhausted, or it produced one value plus a thunk that continues the stream.

Axial.Layers

Axial.PlatformService

Axial.Console

Axial.FileSystem

Axial.Hosting

Axial.Hosting.Node

Axial.Hosting.Browser

Axial.Telemetry

Axial.Telemetry.JavaScript