Skip to main content

join

Macro join 

Source
macro_rules! join {
    ($($tokens:tt)*) => { ... };
}
Expand description

Deterministic join! for use in Temporal workflows.

Polls all futures concurrently to completion in declaration order, ensuring deterministic behavior across workflow replays. Delegates to futures_util::join!.

§Example

use temporalio_sdk::workflows::join;

let future_a = async { 1 };
let future_b = async { 2 };
let (a, b) = join!(future_a, future_b);