{"action":"opened","issue":{"url":"https://api.github.com/repos/egramtel/egram.tel/issues/16","repository_url":"https://api.github.com/repos/egramtel/egram.tel","labels_url":"https://api.github.com/repos/egramtel/egram.tel/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/egramtel/egram.tel/issues/16/comments","events_url":"https://api.github.com/repos/egramtel/egram.tel/issues/16/events","html_url":"https://github.com/egramtel/egram.tel/issues/16","id":358155961,"node_id":"MDU6SXNzdWUzNTgxNTU5NjE=","number":16,"title":"Prefer WhenActivated instead of IDisposable","user":{"login":"worldbeater","id":6759207,"node_id":"MDQ6VXNlcjY3NTkyMDc=","avatar_url":"https://avatars0.githubusercontent.com/u/6759207?v=4","gravatar_id":"","url":"https://api.github.com/users/worldbeater","html_url":"https://github.com/worldbeater","followers_url":"https://api.github.com/users/worldbeater/followers","following_url":"https://api.github.com/users/worldbeater/following{/other_user}","gists_url":"https://api.github.com/users/worldbeater/gists{/gist_id}","starred_url":"https://api.github.com/users/worldbeater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worldbeater/subscriptions","organizations_url":"https://api.github.com/users/worldbeater/orgs","repos_url":"https://api.github.com/users/worldbeater/repos","events_url":"https://api.github.com/users/worldbeater/events{/privacy}","received_events_url":"https://api.github.com/users/worldbeater/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T17:49:34Z","updated_at":"2018-09-07T17:49:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"ReactiveUI guidelines recommend using `WhenActivated` to control the lifecycle of a ViewModel. Let's prefer it over `IDisposable`s.\r\n\r\n>WhenActivated is a way to track disposables. Besides that, it can be used to defer the setup of a ViewModel until it's truly required. WhenActivated also gives us an ability to start or stop reacting to hot observables, like a background task that periodically pings a network endpoint or an observable updating users current location. \r\n\r\nDocs: https://reactiveui.net/docs/handbook/when-activated/"}}
{"actor":{"display_login":"worldbeater"}}