Skip to content

Beeper.beep method

Beeper › beep

Plays a short beep. A no-op if called again within BEEP_THROTTLE_MILLISECONDS of the previous beep (so a burst of rejected actions does not stack into a buzz), or if the Web Audio API is unavailable (e.g. the jsdom test environment).

Signature:

beep(): void

Returns: void