durable-execution-sdk-js.operationsubtype.md
December 2, 2025 ยท View on GitHub
Home > @aws/durable-execution-sdk-js > OperationSubType
OperationSubType enum
Operation subtype enumeration for categorizing different types of durable operations.
This enum provides fine-grained classification of durable operations beyond the basic operation types. Subtypes enable improved observability for specific operation patterns.
Each subtype corresponds to a specific durable context method or execution pattern.
Signature:
export declare enum OperationSubType
Enumeration Members
|
Member |
Value |
Description |
|---|---|---|
|
CALLBACK |
|
A callback creation operation ( Represents the creation of a callback that external systems can complete. Used for human-in-the-loop workflows and external system integration. |
|
CHAINED_INVOKE |
|
A chained invocation operation ( Represents calling another durable function with input parameters and waiting for its completion. Used for function composition and workflows. |
|
MAP |
|
A map operation ( Represents parallel processing of an array of items with concurrency control and completion policies. Each map operation coordinates multiple iterations. |
|
MAP_ITERATION |
|
An individual iteration within a map operation. Represents the processing of a single item within a |
|
PARALLEL |
|
A parallel execution operation ( Represents concurrent execution of multiple branches with optional concurrency control and completion policies. |
|
PARALLEL_BRANCH |
|
An individual branch within a parallel operation. Represents a single branch of execution within a |
|
RUN_IN_CHILD_CONTEXT |
|
A child context operation ( Represents execution within an isolated child context with its own step counter and state tracking. Used for grouping related operations. |
|
STEP |
|
A durable step operation ( Represents atomic operations with automatic retry and checkpointing. Steps are the fundamental building blocks of durable executions. |
|
WAIT |
|
A wait operation ( Represents time-based delays that pause execution for a specified duration. Waits allow long-running workflows without keeping invocations active. |
|
WAIT_FOR_CALLBACK |
|
A wait for callback operation ( Represents waiting for an external system to complete a callback, combining callback creation with submission logic. |
|
WAIT_FOR_CONDITION |
|
A wait for condition operation ( Represents periodic checking of a condition until it's met, with configurable polling intervals and wait strategies. |