We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3660af6 commit fd82298Copy full SHA for fd82298
1 file changed
temporalio/workflow/_context.py
@@ -928,6 +928,11 @@ async def wait_condition(
928
This function returns when the callback returns true (invoked each loop
929
iteration) or the timeout has been reached.
930
931
+ Importantly, using `None` value for ``timeout`` means that no Temporal timer is created. This
932
+ means changing from `None` to a positive value (or the inverse) constitutes a nondeterministic
933
+ change to workflow code. Using ``0`` will cause this function to immediately throw a timeout and
934
+ should not be used.
935
+
936
Args:
937
fn: Non-async callback that accepts no parameters and returns a boolean.
938
timeout: Optional number of seconds to wait until throwing
0 commit comments