Skip to main content

Function: setAlertToneInvoker()

setAlertToneInvoker(invoker: AlertToneInvoker): void

Defined in: src/components/Alerts/alertCoordinator.ts:218

Overrides the alert tone invoker implementation.

Parametersโ€‹

invokerโ€‹

AlertToneInvoker

Replacement alert tone invoker.

Returnsโ€‹

void

Remarksโ€‹

Primarily intended for testing to replace the tone playback with a spy or no-op implementation without mutating global audio state.