{"action":"opened","issue":{"url":"https://api.github.com/repos/fsprojects/FSharp.Control.Reactive/issues/57","labels_url":"https://api.github.com/repos/fsprojects/FSharp.Control.Reactive/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/FSharp.Control.Reactive/issues/57/comments","events_url":"https://api.github.com/repos/fsprojects/FSharp.Control.Reactive/issues/57/events","html_url":"https://github.com/fsprojects/FSharp.Control.Reactive/issues/57","id":57475938,"number":57,"title":"Compiler warnings about RxQueryBuilder","user":{"login":"bordoley","id":2886153,"avatar_url":"https://avatars.githubusercontent.com/u/2886153?v=3","gravatar_id":"","url":"https://api.github.com/users/bordoley","html_url":"https://github.com/bordoley","followers_url":"https://api.github.com/users/bordoley/followers","following_url":"https://api.github.com/users/bordoley/following{/other_user}","gists_url":"https://api.github.com/users/bordoley/gists{/gist_id}","starred_url":"https://api.github.com/users/bordoley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bordoley/subscriptions","organizations_url":"https://api.github.com/users/bordoley/orgs","repos_url":"https://api.github.com/users/bordoley/repos","events_url":"https://api.github.com/users/bordoley/events{/privacy}","received_events_url":"https://api.github.com/users/bordoley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-12T15:38:37Z","updated_at":"2015-02-12T15:38:37Z","closed_at":null,"body":"The following RxQueryBuilder methods all result in compiler warnings about utilizing deprecate constructs. Frankly I would recommend removing these and replacing them with their IObservable duals. (SingleAsync, SingleOrDefaultAsync, FirstAsync, etc.) as the blocking methods are deadlock prone.\r\n\r\nmember __.ExactlyOne (s:IObservable<_>) = s.Single()\r\nmember __.ExactlyOneOrDefault (s:IObservable<_>) = s.SingleOrDefault()\r\nmember __.Find (s:IObservable<_>, [<ProjectionParameter>] predicate : _ -> bool) = s.First(new Func<_,bool>(predicate))\r\n member __.Head (s:IObservable<_>) = s.First()\r\nmember __.HeadOrDefault (s:IObservable<_>) = s.FirstOrDefault()\r\nmember __.Last (s:IObservable<_>) = s.Last()\r\nmember __.LastOrDefault (s:IObservable<_>) = s.LastOrDefault()\r\n\r\n"}}