throttleCreates a throttled version of an async function that ensures it's executed at most once per specified interval.
fn: The async function to throttleinterval: Throttle interval in milliseconds (default: 500)Returns a throttled function with additional control methods:
cancel(): Cancel pending executionflush(): Execute immediatelypending(): Check if execution is pendingthis contextdebounce but with different timing behaviorthrottleSync instead