Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy client stream id #39

Merged
merged 8 commits into from
Dec 30, 2024
Merged

Lazy client stream id #39

merged 8 commits into from
Dec 30, 2024

Conversation

nitely
Copy link
Owner

@nitely nitely commented Dec 29, 2024

Currently await sendHeaders() must be the top await within a with(stream) block. This makes it so awaits before sendHeaders are ok.

let strm = newStream()
with strm:
  await sleepAsync(1)
  await strm.sendHeaders(...)

@nitely nitely changed the title Lazy stream id Lazy client stream id Dec 29, 2024
@nitely nitely merged commit 8860133 into master Dec 30, 2024
2 checks passed
@nitely nitely deleted the lazy_stream_client branch December 30, 2024 16:24
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.

1 participant