pub struct WaitForStepCompletionOptions { /* private fields */ }Expand description
Configures one durable Step completion wait.
The server derives a stable Request ID from the Step execution when none is supplied.
request_timeout bounds the SDK call across transport reattachments.
Temporal permits 10 in-flight Updates per Workflow Execution. internal_handler_timeout
reclaims accepted waits that outlive callers and could consume those slots. Active callers
transparently start another generation, which adds another Update to history.
Implementations§
Source§impl WaitForStepCompletionOptions
impl WaitForStepCompletionOptions
Sourcepub fn request_id(self, request_id: impl Into<String>) -> Self
pub fn request_id(self, request_id: impl Into<String>) -> Self
Overrides the stable Request ID derived from the Step execution.
Sourcepub fn request_timeout(self, request_timeout: Duration) -> Self
pub fn request_timeout(self, request_timeout: Duration) -> Self
Sets the total SDK call budget. Zero waits indefinitely.
Sourcepub fn internal_handler_timeout(
self,
internal_handler_timeout: Duration,
) -> Self
pub fn internal_handler_timeout( self, internal_handler_timeout: Duration, ) -> Self
Sets the Temporal Update handler generation lifetime.
Use a positive value only when abandoned waits can approach Temporal’s in-flight Update limit. Active callers transparently start another generation. Zero disables rollover. Prefer a value longer than normal request timeouts and reconnect gaps because every generation counts toward Temporal’s 2,000-Update history limit.
Trait Implementations§
Source§impl Clone for WaitForStepCompletionOptions
impl Clone for WaitForStepCompletionOptions
Source§impl Debug for WaitForStepCompletionOptions
impl Debug for WaitForStepCompletionOptions
Auto Trait Implementations§
impl Freeze for WaitForStepCompletionOptions
impl RefUnwindSafe for WaitForStepCompletionOptions
impl Send for WaitForStepCompletionOptions
impl Sync for WaitForStepCompletionOptions
impl Unpin for WaitForStepCompletionOptions
impl UnsafeUnpin for WaitForStepCompletionOptions
impl UnwindSafe for WaitForStepCompletionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request