API Reference

Axial

App

App

Bind

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

Builders

No description available.

Cache

Cache

Cause

Represents the cause of a failed workflow.

Clock

Helpers for the clock service.

ColdTask

Functions for creating and executing cold tasks.

Culture

Culture values and explicit machine-default reads.

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.

Format

Culture-aware formatting that takes the culture as a value.

Guid

Helpers for the GUID service.

Hub

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

Layer

Layer<'input, 'error, 'output> builds an environment or service bundle from an input value, running inside a Scope so acquired resources are finalized when the provided flow finishes.

Log

Helpers for the logging service.

LogSink

Pure decorators for runtime log destinations.

Never

Uses the fact that a Never value cannot exist.

Parallelism

Creates concurrency and placement policies 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.

Random

Helpers for the random-number service.

Resource

Resource

Retry

Constructors for Retry.

RunOn

Creates adaptive flow placements.

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.

TestClock

No description available.

TestPlatformExtensions

No description available.

Flow

No description available.

TimeZone

Time zone values and UTC-to-local conversion.

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.

AdaptiveRunOnOptions

Options for adaptive flow placement.

AdaptiveRunOnState

No description available.

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.

CallbackOverflow<'error>

What a callback stream does when its buffer is full.

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.

IGuid

GUID values are controlled per runtime scope.

ILogSink

The level gate is checked before constructing a log entry.

IRandom

Random values are controlled per runtime scope, not read from the application environment.

ITelemetry

Write-only observation slots.

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.

LogEntry

Immutable snapshots of annotations and named fiber locals at the logging call.

LogLevel

No description available.

ManualClock

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

Pool<'resource>

A fixed-size set of eagerly provisioned resource instances, handed out round-robin.

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.

TestLog

A thread-safe recording log sink.

TestPlatform

A recorded read identifies the runtime service member and the fiber which read it.

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

Axial.ElmishFlows

Axial.Console

Axial.FileSystem

Axial.Hosting

Axial.Hosting.Node

Axial.Hosting.Browser

Axial.Telemetry

Axial.Telemetry.JavaScript