{"action":"created","issue":{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/847","labels_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/847/comments","events_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/847/events","html_url":"https://github.com/reactiveui/ReactiveUI/issues/847","id":73456239,"number":847,"title":"Should WinRTAutoSuspendApplication also be watching the app.Resuming for the IsUnPausing behavior on AutoSuspendHelper because of Fast Resume?","user":{"login":"PureWeen","id":5375137,"avatar_url":"https://avatars.githubusercontent.com/u/5375137?v=3","gravatar_id":"","url":"https://api.github.com/users/PureWeen","html_url":"https://github.com/PureWeen","followers_url":"https://api.github.com/users/PureWeen/followers","following_url":"https://api.github.com/users/PureWeen/following{/other_user}","gists_url":"https://api.github.com/users/PureWeen/gists{/gist_id}","starred_url":"https://api.github.com/users/PureWeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PureWeen/subscriptions","organizations_url":"https://api.github.com/users/PureWeen/orgs","repos_url":"https://api.github.com/users/PureWeen/repos","events_url":"https://api.github.com/users/PureWeen/events{/privacy}","received_events_url":"https://api.github.com/users/PureWeen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-05T22:54:24Z","updated_at":"2015-05-07T00:25:49Z","closed_at":null,"body":"As it stands now I can't get IsUnpausing to fire which I'm pretty sure is caused by the fact that the Fast Resume features of Win 8.1 means App.OnLaunched is never called because \"resuming\" in WinRT isn't really the same as :\"Launching\" ..  As I understand it a Suspended WinRT application stays in memory (with limited functionality) unless it's actually terminated and will usually just stay in memory for awhile unless memory pressures dictate otherwise...  The info on it (https://msdn.microsoft.com/en-us/library/windows/apps/hh464925.aspx) says it might just sit there in memory suspended for days\r\n\r\nHopefully that makes sense... The language in RxUI doesn't correlate to WinRT's names for things (not saying it should) but that might make what I'm saying confusing :-x  \r\n\r\nHere's my stab at the modification that seems to work when I tested it in the PlayGround projects\r\n\r\n```\r\n\t\t\tvar fastResuming = new Subject<ApplicationExecutionState>();\r\n\t\t\tapp.Resuming += (o, e) => fastResuming.OnNext(ApplicationExecutionState.Suspended);\r\n            var unpausing = new[] { ApplicationExecutionState.Suspended, ApplicationExecutionState.Running, };\r\n            RxApp.SuspensionHost.IsUnpausing = _launched\r\n\t\t\t\t.Select(x=> x.PreviousExecutionState)\r\n\t\t\t\t.Merge(fastResuming)\r\n                .Where(x => unpausing.Contains(x))\r\n                .Select(_ => Unit.Default);\r\n\r\n```\r\n\r\nSuspended in WinRT still means you're entering a limited state of functionality (for example you can't get GPS location) so it's not like it's just same behavior but not visible it's still \"suspended\" so it's a good thing to be able to wire into....    Which is why I ran into this :-)  Because I need to suspend some GPS/network stuff going on if the user \"suspends\" the app and then start those things back up with the app enters the foreground"},"comment":{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/comments/99656852","html_url":"https://github.com/reactiveui/ReactiveUI/issues/847#issuecomment-99656852","issue_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/847","id":99656852,"user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T00:25:49Z","updated_at":"2015-05-07T00:25:49Z","body":"/cc #849 "}}