Repository navigation
Record that the spawned connection mode is built on the scoped spawn proposed for base-scheduler 0.6. - #83
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Record in
design/client-connection.mdand M6 ofdesign/roadmap.mdthe decision of 2026-11-21 that the opt-in spawned mode, in which each connection is its own task, uses the scoped spawn proposed in base-rs/base-scheduler#134 rather thanSpawn's'statictasks: the application runs its program inside a blocking scope, so connection tasks may borrow the scheduler and keep the scoped mode's lifetimes, with handlers bound to the scope and request bodies that outlive it, and a spawned server can forward a body through a spawned client. The notes record the rejected alternatives, a scheduler borrowed for'staticand reader and writer handles that own their scheduler, and that the spawned mode waits for scheduler 0.6.