Hacker News new | ask | show | jobs
by parmesan 3141 days ago
In Android (for example), one would use an observable stream bound to the lifecycle of the host. Most folks do this using Rx and add a custom operator for unsubscribing on the host DESTROY event.