Implement a Priority-Based API Request Manager with Queue Bypass
Design a network request manager that supports tagging fetch calls with priority levels (high, medium, low). High-priority requests should preempt or skip ahead of pending lower-priority ones in the request queue. Optionally abort in-flight low-priority requests if a critical high-priority request is submitted. This pattern is used in real-time dashboards, trading platforms, and any UI where user-triggered actions must not be blocked by background data fetching.