manekinekko / angular-web-bluetooth

The missing Web Bluetooth module for Angular
https://manekinekko.github.io/angular-web-bluetooth/
MIT License
196 stars 59 forks source link

Question: BluetoothCore extends Subject<BluetoothCore>? #63

Closed troywweber7 closed 4 years ago

troywweber7 commented 4 years ago

This is a question rather than a bug I suspect, but why does your BluetoothCore service extend an rxjs Subject? I suspect there could be a good reason, but I can't quite figure it out from your application. Thanks.

manekinekko commented 4 years ago

You are right that's a left out code from a previous implementation where BluetoothCore was behaving as a Subject (aka. service bus pattern).