Skip to main content

Namespace: proto

This package contains code generated from the Temporal sdk-core protobuf definitions using protobufjs, it is used by the Temporal worker and client packages.

You will most likely never import this package directly.

Core SDK API#

Core SDK interfaces can be accessed in the coresdk namespace.

import { coresdk } from '@temporalio/proto';const activityTask: coresdk.activity_task.IActivityTask = { ... };

Temporal Service API#

Temporal API interfaces - used to communicate with the Temporal service - can be accessed in the temporal namespace.

import { temporal } from '@temporalio/proto';const retryPolicy: temporal.api.common.v1.IRetryPolicy = { ... };

Namespaces#