Temporal TypeScript SDK API Reference

website·Indexed 41 days ago

https://typescript.temporal.io/

API documentation for the Temporal TypeScript SDK, including the workflowservice.v1 namespace, workflow-streams, and related interfaces, classes, and type aliases for managing workflow executions and worker deployments.

Tokens
1.1M
Snippets
5.3K
Records
11K
Agent score
66%

What's inside Temporal TypeScript SDK

  1. Overview of google.protobuf.FeatureSetDefaults

    google.protobuf.FeatureSetDefaults is a compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and are used to seed feature resolution. Resolution using this object involves searching for the closest matching edition followed by proto merges.
  2. Overview of TemporalNexusClient

    The TemporalNexusClient is a Nexus-aware Temporal Client designed for use within TemporalOperationHandler implementations. It allows developers to interact with Temporal Workflows and Activities while maintaining Nexus Operation context. Note that Temporal Operation handlers are currently experimental.
  3. Overview of gRPC Transcoding with HttpRule

    gRPC Transcoding allows a single API service to support both gRPC and HTTP REST APIs by mapping gRPC methods to one or more HTTP REST endpoints. The google.api.HttpRule class defines the schema for this mapping, specifying how gRPC request message fields are mapped to the URL path, URL query parameters, and the HTTP request body, as well as how the gRPC response is mapped to the HTTP response body. HttpRule is typically applied as a google.api.http annotation on a gRPC method.
  4. Overview of @temporalio/langsmith observability

    The @temporalio/langsmith package provides LangSmith observability for Temporal workflows and activities. The primary entry point for this functionality is the LangSmithPlugin class, which is configured using LangSmithPluginOptions.
  5. Overview of Temporal TypeScript SDK packages

    The Temporal TypeScript SDK is divided into several specialized packages depending on the component being implemented:

    • @temporalio/worker: Used to run Workflows and Activities.
    • @temporalio/workflow: The runtime library for defining Workflow logic.
    • @temporalio/activity: Provides access to the current Activity's context.
    • @temporalio/client: Used to send commands and interact with the Temporal Server.
    • @temporalio/nexus: Used to implement and invoke Nexus Operations.
    • @temporalio/testing: The dedicated test framework for Temporal applications.
    • @temporalio/common: Shared library used across Client, Worker, and Workflow components.
    • @temporalio/proto: Contains the compiled protobuf definitions.
    • @temporalio/interceptors-opentelemetry: Provides interceptors for adding OpenTelemetry tracing.