Skip to content

API Documentation ​

Welcome to the temporal-contract API documentation. This documentation is auto-generated from the source code using TypeDoc.

Core Packages ​

The Result / AsyncResult types used throughout the API surface come from unthrown. See The result model for how the three channels map onto Temporal's boundaries, and Migrate from neverthrow if you are upgrading from the previous neverthrow-based version.

Testing ​

Each package is documented per public entry point: contract as index (the root) and errors; worker as activity, worker, and workflow; testing as activity, contract, extension, global-setup, and time-skipping. The internal @temporal-contract/contract/internal entry carries no semver guarantee and is intentionally excluded.

Hand-written reference ​

The generated pages above describe every symbol exported from those public entry points. For grouped, narrative reference — option tables, error channels, merge order — see:

Released under the MIT License.