# Temporalex v0.4.2 - Table of Contents

> Workflow orchestration for Elixir, built on the Temporal Core SDK (Rust) via Rustler NIFs.

## Pages

- [Overview](readme.md)
- [Changelog](changelog.md)
- [SDK Overview](sdk_overview.md)
- [Programming Model](programming_model.md)
- [Implementation Principles](implementation_principles.md)
- [Scheduler and Replay](scheduler_and_replay.md)

## Modules

- [Temporalex.ChildHandle](Temporalex.ChildHandle.md): Reference to a child workflow that has been started by the current
workflow execution.
- [Temporalex.Client.Handle](Temporalex.Client.Handle.md): Handle for a started workflow execution.

- [Temporalex.Core.Activation](Temporalex.Core.Activation.md): Core workflow activation delivered to an executor.

- [Temporalex.Core.ActivityCompletion](Temporalex.Core.ActivityCompletion.md): Server-facing activity completion submitted through a backend.

- [Temporalex.Core.ActivityTask](Temporalex.Core.ActivityTask.md): Server-facing activity task decoded by a backend.

- [Temporalex.Core.Completion](Temporalex.Core.Completion.md): Status-bearing completion for one workflow activation.

- [Temporalex.Core.TestHarness](Temporalex.Core.TestHarness.md): Pure core test harness that drives executors with core activations.

- [Temporalex.Core.TraceGuard](Temporalex.Core.TraceGuard.md): Per-executor workflow safe-mode tracing.
- [Temporalex.Failure](Temporalex.Failure.md): Helpers for constructing structured Temporal failures.

- [Temporalex.SearchAttribute](Temporalex.SearchAttribute.md): Typed Temporal Search Attribute value.
- [Temporalex.Testing](Temporalex.Testing.md): Workflow testing helpers built on the real Temporalex executor.
- [Temporalex.Testing.Activity](Temporalex.Testing.Activity.md): Testing handle for a scheduled activity command.
- [Temporalex.Testing.Run](Temporalex.Testing.Run.md): Handle for a workflow run driven by `Temporalex.Testing`.
- [Temporalex.Testing.Timer](Temporalex.Testing.Timer.md): Testing handle for a started timer command.
- [Temporalex.Testing.Update](Temporalex.Testing.Update.md): Testing handle for an update delivered to a workflow run.

- Public API
  - [Temporalex](Temporalex.md): Documentation for `Temporalex`.

  - [Temporalex.Activity](Temporalex.Activity.md): Minimal activity DSL.
  - [Temporalex.Activity.Context](Temporalex.Activity.Context.md): Runtime context passed to activity implementations that declare a context
argument.
  - [Temporalex.Client](Temporalex.Client.md): Client owner and public API for workflow operations.
  - [Temporalex.Workflow](Temporalex.Workflow.md): Minimal workflow module DSL for the core slices.

  - [Temporalex.Workflow.API](Temporalex.Workflow.API.md): Workflow primitives available from executor-owned workflow processes.

- Worker
  - [Temporalex.Server](Temporalex.Server.md): Worker server that routes backend work to core executors and activities.
  - [Temporalex.Worker](Temporalex.Worker.md): Supervisor for one Temporalex worker instance.

- Backend
  - [Temporalex.Backend](Temporalex.Backend.md): Backend boundary for Temporal client and worker transport.
  - [Temporalex.Backend.TemporalCore](Temporalex.Backend.TemporalCore.md): Temporal Core backend implemented through the Rustler native bridge.
  - [Temporalex.Backend.Test](Temporalex.Backend.Test.md): In-memory backend for server and integration tests.

- Core
  - [Temporalex.Core.Executor](Temporalex.Core.Executor.md): Deterministic workflow executor for the core implementation slices.

- Exceptions
  - [Temporalex.ClientUnavailableError](Temporalex.ClientUnavailableError.md): The client owner process was not available while a client operation was running.

  - [Temporalex.Core.Nondeterminism](Temporalex.Core.Nondeterminism.md): Activation failure raised when emitted command decisions diverge from replay history.

  - [Temporalex.Core.SchedulerViolation](Temporalex.Core.SchedulerViolation.md): Activation failure raised when a workflow process calls the executor outside its turn.

  - [Temporalex.Error](Temporalex.Error.md): Generic Temporalex operation error and helpers for public client results.
  - [Temporalex.Failure.ActivityError](Temporalex.Failure.ActivityError.md): Failure wrapper for a failed Activity Execution.

  - [Temporalex.Failure.ApplicationError](Temporalex.Failure.ApplicationError.md): Application failure with retry metadata.

  - [Temporalex.Failure.CancelledError](Temporalex.Failure.CancelledError.md): Temporal cancellation failure.

  - [Temporalex.Failure.TimeoutError](Temporalex.Failure.TimeoutError.md): Temporal timeout failure.

  - [Temporalex.Failure.UnknownError](Temporalex.Failure.UnknownError.md): Fallback for Temporal failures not yet modeled by Temporalex.

  - [Temporalex.Failure.WorkflowExecutionError](Temporalex.Failure.WorkflowExecutionError.md): Failure wrapper for a failed Child Workflow Execution.

  - [Temporalex.NondeterminismError](Temporalex.NondeterminismError.md): Raised when a workflow's emitted command decisions diverge from its
recorded history during replay.
  - [Temporalex.QueryRejectedError](Temporalex.QueryRejectedError.md): A workflow query was rejected by Temporal because of workflow execution status.

  - [Temporalex.TransportError](Temporalex.TransportError.md): Transport, payload conversion, option validation, or backend infrastructure error.

  - [Temporalex.UpdateFailedError](Temporalex.UpdateFailedError.md): A workflow update completed or was rejected with a Temporal failure.

  - [Temporalex.WorkflowAlreadyStartedError](Temporalex.WorkflowAlreadyStartedError.md): A workflow start request conflicted with an existing workflow execution.

  - [Temporalex.WorkflowCancelledError](Temporalex.WorkflowCancelledError.md): A workflow completed as cancelled.

  - [Temporalex.WorkflowContinuedAsNewError](Temporalex.WorkflowContinuedAsNewError.md): A workflow result request observed a continue-as-new terminal state.

  - [Temporalex.WorkflowFailedError](Temporalex.WorkflowFailedError.md): A workflow completed with a Temporal failure.

  - [Temporalex.WorkflowNotFoundError](Temporalex.WorkflowNotFoundError.md): The requested workflow execution was not found.

  - [Temporalex.WorkflowTerminatedError](Temporalex.WorkflowTerminatedError.md): A workflow completed as terminated.

  - [Temporalex.WorkflowTimedOutError](Temporalex.WorkflowTimedOutError.md): A workflow execution timed out.

