Skip to content

Add async streaming producer example - #16

Open
jamesyshd19-cmyk wants to merge 1 commit into
abhishek2x:mainfrom
jamesyshd19-cmyk:docs/async-streaming-example
Open

jamesyshd19-cmyk wants to merge 1 commit into
abhishek2x:mainfrom
jamesyshd19-cmyk:docs/async-streaming-example

Conversation

@jamesyshd19-cmyk

Copy link
Copy Markdown

Add a standalone AsyncExecutionEngine example that keeps at most three futures in flight, consumes results as they finish, and handles a task failure while continuing to drain the stream.

Closes #13.

  • Ruff lint and format checks, strict mypy, and pytest on macOS arm64 with Python 3.14.10 (65 passed, one existing conditional skip).
  • Ran the example on Python 3.9.6 and 3.14.10 and verified all eight items were handled, the in-flight cap held, and a result appeared before the final submission.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an async streaming producer example

1 participant