API Reference

Axial

App

App

Bind

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

Builders

No description available.

Cache

Cache

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.

Dequeue

Dequeue<'a> is the consuming side of a queue.

Exit

Represents the final outcome of a workflow execution.

Fiber

Fiber

FiberDump

Snapshot conversion and rendering for fiber dumps.

FiberLocal

A value scoped to the current fiber and inherited by fibers forked within its scope.

FiberObserver

Standard fiber observers.

FiberSlot

Creates and clears FiberSlot and KeyedFiberSlot values.

Flow

Flow

FlowStream

FlowStream<'env, 'error, 'value> describes a cold, pull-based sequence of effectful values.

Hub

Hub<'a> delivers every published value to every current subscription.

Never

Uses the fact that a Never value cannot exist.

Parallelism

Creates Parallelism bounds for parallel Flow and stream operators.

Policy

Constructors and combinators for environment-aware workflow requirements.

PublishResult

Combines PublishResult values, for totalling several publishes.

Queue

Queue<'a> hands each value from producer fibers to exactly one taker, in FIFO order, with an overflow strategy chosen when it is created.

Resource

Resource

Retry

Constructors for Retry.

Schedule

A Schedule<'env, 'input, 'output> decides, after each run of a flow, whether to run it again and how long to wait first.

Semaphore

Flow-native semaphore helpers.

SemaphoreSlim

Flow-native bridges to SemaphoreSlim.

Ref

Ref<'T> holds a mutable value that concurrent workflows update atomically.

STM

STM<'T> is a composable transaction: a value describing reads and writes that commit together.

StmBuilders

No description available.

SubscriptionRef

SubscriptionRef<'a> is a reference whose changes can be streamed.

TPromise

A transactional promise that blocks readers until it is completed.

TQueue

A transactional FIFO queue, built from a transactional reference.

TRef

TRef<'T> is a transactional reference: a variable read and written inside an STM transaction.

TSemaphore

A transactional semaphore, built from a transactional reference.

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.

Backoff

How long a Retry waits between attempts.

BindError<'env, 'error, 'value>

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

CallbackOverflow<'error>

What a callback stream does when its buffer is full.

ClockEnvironment

An environment containing only a clock, for timed flows with no other services.

Emit<'error, 'value>

Synchronous, thread-safe callback sink.

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

A FiberRegistry (core Axial, no telemetry dependency) tracks every live fiber below one edge install and answers "what is my runtime doing right now?" Install it with Flow.withFiberRegistry; registry.DumpAt(clock) renders the tree and registry.Snapshot() returns structured FiberDump values.

FiberStats

Totals for every settled fiber that shared a name, as recorded by a FiberRegistry.

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.

HubTryPublishResult

The immediate outcome of publishing from a synchronous callback.

IClock

Supplies wall time, monotonic time, and cancellable delays from one source.

IHasClock

Declares the clock required by timed workflows and fiber diagnostics.

KeyedFiberSlot<'key, 'error, 'value>

Holds at most one running fiber per key; forking into a key with Flow.forkReplacingKey interrupts that key's previous fiber.

LogLevel

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

ManualClock

A clock that advances only when a test or simulator asks it to.

QueueStats

A snapshot of a queue's backlog and of what it has done with offered values since it was created.

QueueStrategy

What a queue, or a hub subscription, does with a value offered while it is full.

QueueTryOfferResult

The immediate outcome of Queue.tryOffer.

Scope

A Scope owns finalizers for resources and child fibers.

ServiceProvider

Reads services from an IServiceProvider environment.

SettledFiber

A forked fiber that has settled, as recorded by a FiberRegistry.

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.

UnobservedDefect

A defect that nobody observed, as recorded by a FiberRegistry.

UnrecoveredFailureException

A typed failure retained as a defect when changing a compound cause's error type.

Axial.Layers

Axial.PlatformService

Axial.ElmishFlows

Axial.Console

Axial.FileSystem

Axial.Files

Axial.Hosting

Axial.Hosting.Node

Axial.Hosting.Browser

Axial.Telemetry

Axial.Telemetry.JavaScript