clean up work queuing and scheduling
Open
Nobody has claimed this yet.
refactoring :building_construction:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Follow up for https://github.com/mapbox/mapbox-gl-js/pull/10417/
- try to remove
mustQueuecompletely - switch actor.send to an options argument
- see if callback metadata can be simplified somehow
- make sure its clear what is executed immediately and what is scheduled for later execution
cc @mourner
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
Start by reviewing the follow-up context in pull request #10417 and tracing the actor.send calls and mustQueue usage it discusses. Compare immediate execution with scheduled execution, then determine whether callback metadata can be simplified while preserving that distinction. Done means the listed queuing and scheduling concerns are resolved and their behavior is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100