Skip to content

refactor: avoid nested scope.run in request handler - #22

Closed
taras wants to merge 2 commits into
mainfrom
tm/fix-nested-scope-run
Closed

taras wants to merge 2 commits into
mainfrom
tm/fix-nested-scope-run

Conversation

@taras

@taras taras commented Feb 12, 2026

Copy link
Copy Markdown
Member

Summary

  • refactor useServer request handling to avoid nesting scope.run inside another scope.run
  • keep response production and stream driver execution as separate top-level runs in the same scope
  • preserve existing driver behavior (params context restore, abort race, and resource closed handling)

Verification

  • deno lint
  • deno task test

@taras taras closed this Feb 22, 2026
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