Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions temporalio/workflow/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,10 @@ async def wait_condition(
This function returns when the callback returns true (invoked each loop
iteration) or the timeout has been reached.

Importantly, using a `0` or `None` value for `timeout` means that no Temporal timer is created.
This means changing from either of those values to a positive value (or the inverse) constitutes
a nondeterministic change to workflow code.

Args:
fn: Non-async callback that accepts no parameters and returns a boolean.
timeout: Optional number of seconds to wait until throwing
Expand Down
Loading