Ember optional feature default-async-observers creates a race condition which will interfere with connections being available when you need them. This manifests as something like Cannot read properties of null (reading 'pan') or Cannot read properties of null (reading 'gain').
We need to remove the observer that triggers the _wireConnections method in order to resolve this. I tried a computed property in the past, but I didn't have enough control over when the computed property recalculated, so I stayed with an observer.
I have some ideas on how to resolve, but this will probably not happen until I move this library to JS classes and remove the "classic classes."
Ember optional feature
default-async-observerscreates a race condition which will interfere withconnectionsbeing available when you need them. This manifests as something likeCannot read properties of null (reading 'pan')orCannot read properties of null (reading 'gain').We need to remove the observer that triggers the
_wireConnectionsmethod in order to resolve this. I tried a computed property in the past, but I didn't have enough control over when the computed property recalculated, so I stayed with an observer.I have some ideas on how to resolve, but this will probably not happen until I move this library to JS classes and remove the "classic classes."