Future vs Stream for Continuous Polling: Which Keeps Memory Usage in Check?
Goal Implement a background service that polls a REST endpoint every minute and processes the response in a Flutter app. Constraints The service runs for hours, so memory consumption and subscription lifecycle must be managed carefully. The implementation should be easy to debug and maintain. Unresolved Decision Should the polling logic use a single Future p