Closed karansohi closed 10 months ago
The aperture-js
SDK has undergone a revamp in its concurrency management. A function for limiting concurrency has been removed, and a new approach based on user tiers has been introduced. The example code now includes added comments to clarify the flow of concurrency scheduling, and new async functions have been introduced to manage UI concurrency tokens and scheduling, hinting at a more structured and user-tiered concurrency strategy.
File Path | Change Summary |
---|---|
.../aperture-js/example/basic_usage.ts |
Removed handleConcurrencyLimit , added sendRequestForTier , updated userTiers . |
.../aperture-js/example/concurrency_scheduler.ts |
Added comments to mark the start and end of concurrency scheduling. |
.../aperture-js/example/ui_snippets.ts |
New async functions for UI concurrency tokens and scheduling flows. |
🐇 "In the land of code and bits, 🌟 Where the data flows and fits, 🎉 We rejigged the concurrency dance, 🚀 Now each tier gets a fair chance."
Description of change
Checklist
Summary by CodeRabbit
Refactor
Documentation
New Features