RepeatedActionThrottler class
A Throttler that passes through all actions but will only let an action be repeated once every 2 seconds.
- Extends
Properties
repeat |
Methods
throttled(Extended |
Property Details
repeatInterval
number repeatInterval
Property Value
number
Method Details
throttled(ExtendedMediaSessionActionDetails | MediaSessionActionDetails, MediaSessionActionHandler)
function throttled(details: ExtendedMediaSessionActionDetails | MediaSessionActionDetails, handler?: MediaSessionActionHandler)
Parameters
- details
-
ExtendedMediaSessionActionDetails | MediaSessionActionDetails
- handler
-
MediaSessionActionHandler
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for