{"action":"closed","issue":{"url":"https://api.github.com/repos/zhebrak/raftos/issues/7","repository_url":"https://api.github.com/repos/zhebrak/raftos","labels_url":"https://api.github.com/repos/zhebrak/raftos/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/zhebrak/raftos/issues/7/comments","events_url":"https://api.github.com/repos/zhebrak/raftos/issues/7/events","html_url":"https://github.com/zhebrak/raftos/issues/7","id":190684927,"number":7,"title":"Support get/set functions for replicated objects","user":{"login":"zhebrak","id":293699,"avatar_url":"https://avatars.githubusercontent.com/u/293699?v=3","gravatar_id":"","url":"https://api.github.com/users/zhebrak","html_url":"https://github.com/zhebrak","followers_url":"https://api.github.com/users/zhebrak/followers","following_url":"https://api.github.com/users/zhebrak/following{/other_user}","gists_url":"https://api.github.com/users/zhebrak/gists{/gist_id}","starred_url":"https://api.github.com/users/zhebrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhebrak/subscriptions","organizations_url":"https://api.github.com/users/zhebrak/orgs","repos_url":"https://api.github.com/users/zhebrak/repos","events_url":"https://api.github.com/users/zhebrak/events{/privacy}","received_events_url":"https://api.github.com/users/zhebrak/received_events","type":"User","site_admin":false},"labels":[{"id":466720153,"url":"https://api.github.com/repos/zhebrak/raftos/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T11:06:21Z","updated_at":"2016-11-23T00:00:36Z","closed_at":"2016-11-23T00:00:36Z","body":"`obj.data = {}` and `obj.data` are synchronous since there is no such thing as async descriptors with \\_\\_aset\\_\\_/\\_\\_aget\\_\\_ yet. In order to run raftos in a running loop we have to make them asynchronous.\r\n\r\n```\r\nawait obj.data.update({...})\r\n\r\ncurrent_data = await obj.data.value()\r\n```"}}
{"actor":{"display_login":"zhebrak"}}