{"action":"created","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/538","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/538/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/538/events","html_url":"https://github.com/akkadotnet/akka.net/pull/538","id":52962835,"number":538,"title":"F# API - README + more changes","user":{"login":"Horusiath","id":679705,"avatar_url":"https://avatars.githubusercontent.com/u/679705?v=3","gravatar_id":"","url":"https://api.github.com/users/Horusiath","html_url":"https://github.com/Horusiath","followers_url":"https://api.github.com/users/Horusiath/followers","following_url":"https://api.github.com/users/Horusiath/following{/other_user}","gists_url":"https://api.github.com/users/Horusiath/gists{/gist_id}","starred_url":"https://api.github.com/users/Horusiath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horusiath/subscriptions","organizations_url":"https://api.github.com/users/Horusiath/orgs","repos_url":"https://api.github.com/users/Horusiath/repos","events_url":"https://api.github.com/users/Horusiath/events{/privacy}","received_events_url":"https://api.github.com/users/Horusiath/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-27T18:29:49Z","updated_at":"2015-02-05T18:34:29Z","closed_at":"2015-01-10T19:02:27Z","pull_request":{"url":"https://api.github.com/repos/akkadotnet/akka.net/pulls/538","html_url":"https://github.com/akkadotnet/akka.net/pull/538","diff_url":"https://github.com/akkadotnet/akka.net/pull/538.diff","patch_url":"https://github.com/akkadotnet/akka.net/pull/538.patch"},"body":"## Breaking Changes\r\n\r\nI've exposed a `Watch/Unwatch` methods into separate `ICanWatch` interface. It's now implemented by `IActorContext`, `Inboxable` and F# actors. Since `Inboxable.Watch` had previously void as return type, now it returns actor reference (also have an `Unwatch` method, which was not present before). I've also removed a `watch` function from F# API (it has been replaced by `monitor`, mentioned below).\r\n\r\nAlso some of the F# modules (Configuration, Strategy) now require qualified access - calling their functions without module prefix was unclear and could result in enigmatic code i.e. `load` vs `Configuration.load`.\r\n\r\n## New F# functions\r\n\r\n1. `Configuration.load()` - alias to `ConfigurationFactory.Load` method.\r\n2. `monitor`/`demonitor` functions - similar to `Watch`/`Unwatch` (naming inspired by Erlang). Can operate directly on Inbox or Actor instances.\r\n3. `pub`, `sub`, `unsub` functions - Publish/Subscribe functions. Reason for abbreviation is that Pub/Sub is also a popular naming shortcut for related pattern.\r\n4. Scheduling functions - `schedule` and `scheduleOnce` work on functions, while `scheduleTell` and `scheduleTellOnce` work on message passed to actor refs. Moreover they take native F# functions as a parameters, so that explicit conversion to `System.Action` is no longer necessary.\r\n\r\n## README.md for F# project\r\n\r\nAll F# API functions, grouped and explained with examples. I hope, that this could be a foundation to the F# API Documentation on Akka.NET home page."},"comment":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/comments/73100225","html_url":"https://github.com/akkadotnet/akka.net/pull/538#issuecomment-73100225","issue_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/538","id":73100225,"user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars.githubusercontent.com/u/7204669?v=3","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T18:34:29Z","updated_at":"2015-02-05T18:34:29Z","body":"I added a bunch of comments about the F# API.  Don't take them the wrong way - in many ways it's looking fantastic!"}}