pub struct WaitForAttributeOptions { /* private fields */ }Expand description
Configures one durable Attribute match wait.
The server derives a stable Request ID from the Attribute condition 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 WaitForAttributeOptions
impl WaitForAttributeOptions
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 Attribute condition.
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 WaitForAttributeOptions
impl Clone for WaitForAttributeOptions
Source§impl Debug for WaitForAttributeOptions
impl Debug for WaitForAttributeOptions
Auto Trait Implementations§
impl Forget for WaitForAttributeOptions
impl Freeze for WaitForAttributeOptions
impl RefUnwindSafe for WaitForAttributeOptions
impl Send for WaitForAttributeOptions
impl Sync for WaitForAttributeOptions
impl Unpin for WaitForAttributeOptions
impl UnsafeUnpin for WaitForAttributeOptions
impl UnwindSafe for WaitForAttributeOptions
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