{"action":"opened","issue":{"url":"https://api.github.com/repos/tomerfiliba/rpyc/issues/302","repository_url":"https://api.github.com/repos/tomerfiliba/rpyc","labels_url":"https://api.github.com/repos/tomerfiliba/rpyc/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/tomerfiliba/rpyc/issues/302/comments","events_url":"https://api.github.com/repos/tomerfiliba/rpyc/issues/302/events","html_url":"https://github.com/tomerfiliba/rpyc/issues/302","id":364721648,"node_id":"MDU6SXNzdWUzNjQ3MjE2NDg=","number":302,"title":"Execute yield command remotely","user":{"login":"andresdemski","id":5638582,"node_id":"MDQ6VXNlcjU2Mzg1ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/5638582?v=4","gravatar_id":"","url":"https://api.github.com/users/andresdemski","html_url":"https://github.com/andresdemski","followers_url":"https://api.github.com/users/andresdemski/followers","following_url":"https://api.github.com/users/andresdemski/following{/other_user}","gists_url":"https://api.github.com/users/andresdemski/gists{/gist_id}","starred_url":"https://api.github.com/users/andresdemski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresdemski/subscriptions","organizations_url":"https://api.github.com/users/andresdemski/orgs","repos_url":"https://api.github.com/users/andresdemski/repos","events_url":"https://api.github.com/users/andresdemski/events{/privacy}","received_events_url":"https://api.github.com/users/andresdemski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T02:48:55Z","updated_at":"2018-09-28T02:48:55Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI'm trying to use RPyC in a proyect based in coroutines and i need to start a RPyC server inside one coroutine an be able to send `yield` commands. \r\n\r\nI know that this application is not common. I want to do this because the coroutines are launched by an scheduler that controls a simulator engine and i need to continue simulation when all the coroutine are waiting for a simulation step.\r\n\r\nFor example:\r\n``` \r\n@sim.coroutine \r\ndef coroutine_A ( ... ):\r\n    while True:\r\n         yield from ClasicServer.run()\r\n\r\n@sim.coroutine \r\ndef coroutine_B( ... ):\r\n    yield from WaitEvent('event')\r\n    yield from WaitEvent('another_event')\r\n```\r\n\r\n\r\nWhat do you think? Can i do this in a simple way or i need to change all RPyC architecture?\r\n\r\n\r\n\r\n "}}
{"actor":{"display_login":"andresdemski"}}