audioContextStateChangeMonitor¶
Overview¶
A singleton instance that allows clients to register listeners that get fired on state changes for an audio context. This exists because an audio context has a single "onstatechange" property, and we had the need to register multiple listeners.
@author John Blanco (PhET Interactive Simulations)
Source Code¶
See the source for audioContextStateChangeMonitor.ts in the tambo repository.