Skip to content
Merged
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
3 changes: 3 additions & 0 deletions python/restate/server_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,9 @@ async def wrapper(f):
self.tasks.add(task)
continue
if isinstance(do_progress_response, DoProgressWaitExternalProgress):
# Send what do_progress wrote before blocking: the AwaitingOn message, which tells Restate
# what this attempt awaits while it waits, so that Restate may suspend it.
await self.take_and_send_output()
chunk = await self.receive()
if chunk.get("type") == "restate.run_completed":
continue
Expand Down
Loading