breez-sdk
breez-sdk copied to clipboard
[Flutter] Improve SDK stream management
This PR addresses
- #979
SDK streams references are created on initialize
which can be listened, subscribed to & unsubscribed from during BreezSDK's lifetime.
Changelist:
- Subscribe and unsubscribe to SDK streams on each connect/disconnect 90bb47e
Other changelist:
- Move documentation of streams to their correct places dd1716a
- Change serviceHealthCheck to a block function for consistency af31210