microsoft / microsoft/typescript-analyze-trace
Can normalize-positions exit early once all positions have been normalized?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 429
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
The naive implementation would be to add a global flag that causes all work to be skipped once it's set. However, it would be nicer if we could find some stream API that caused everything to shut down and/or detach.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the normalize-positions implementation and trace how its stream work is started and completed. Investigate whether the stream API can shut down or detach remaining work once all positions are normalized, rather than relying on a global skip flag. Done means normalization exits early without processing unnecessary remaining work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100