Skip to main content

Crate temporalio_common_wasm

Crate temporalio_common_wasm 

Source
Expand description

This crate contains the shared definitions and serialization/proto surface needed by the workflow authoring APIs, including WASM-targeted builds.

Re-exports§

pub use search_attributes::SearchAttributeError;
pub use search_attributes::SearchAttributeKey;
pub use search_attributes::SearchAttributeUpdate;
pub use search_attributes::SearchAttributeValue;
pub use search_attributes::SearchAttributes;
pub use search_attributes::Timestamp;
pub use worker::WorkerDeploymentVersion;

Modules§

data_converters
Contains traits for and default implementations of data converters, codecs, and other serialization related functionality.
error
Shared error types used across Temporal SDK crates.
protos
Protobuf definitions re-exported from temporalio-protos.
search_attributes
Type-safe search attribute APIs for the Temporal Rust SDK.
worker
WASM-safe worker-related shared types exposed through workflow APIs.

Structs§

Memo
A collection of memo payloads that can be deserialized into typed values.
MemoValue
A typed value used in a workflow memo update.
MemoValues
A complete set of memo values for a new workflow execution.
Priority
Priority contains metadata that controls relative ordering of task processing when tasks are backlogged in a queue. Initially, Priority will be used in activity and workflow task queues, which are typically where backlogs exist. Other queues in the server (such as transfer and timer queues) and rate limiting decisions do not use Priority, but may in the future.
RetryPolicy
Options for retrying workflows and activities.
UntypedActivity
Marker type for starting activities by activity type name. Uses RawValue for both input and output.
UntypedWorkflow
Marker type for untyped workflow handles. Stores the workflow type name. Uses RawValue for both input and output.
WorkflowExecution
Identifies a workflow execution by workflow and run ID.

Enums§

ActivityCloseTimeouts
Represents Activity schedule-to-close and start-to-close timeouts for the purposes of specifying Activity options. Specifying at least one of them is required, but specifying both is also allowed. Note that this type does not cover all available timeout options for an Activity.
ActivityError
Returned as errors from activity functions.

Traits§

ActivityDefinition
Implement on a marker struct to define an activity.
HasWorkflowDefinition
Indicates that a type is associated with a WorkflowDefinition, enabling typed signal, query, and update methods on WorkflowHandle.
QueryDefinition
Implement on a marker struct to define a query.
SignalDefinition
Implement on a marker struct to define a signal.
UpdateDefinition
Implement on a marker struct to define an update.
WorkflowDefinition
Implement on a marker struct to define a workflow.