{"action":"opened","issue":{"url":"https://api.github.com/repos/recoilphp/recoil/issues/125","repository_url":"https://api.github.com/repos/recoilphp/recoil","labels_url":"https://api.github.com/repos/recoilphp/recoil/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/recoilphp/recoil/issues/125/comments","events_url":"https://api.github.com/repos/recoilphp/recoil/issues/125/events","html_url":"https://github.com/recoilphp/recoil/issues/125","id":166483147,"number":125,"title":"Using `Api::resume()` and `throw()` makes it difficult to integrate with sync code.","user":{"login":"jmalloc","id":761536,"avatar_url":"https://avatars.githubusercontent.com/u/761536?v=3","gravatar_id":"","url":"https://api.github.com/users/jmalloc","html_url":"https://github.com/jmalloc","followers_url":"https://api.github.com/users/jmalloc/followers","following_url":"https://api.github.com/users/jmalloc/following{/other_user}","gists_url":"https://api.github.com/users/jmalloc/gists{/gist_id}","starred_url":"https://api.github.com/users/jmalloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmalloc/subscriptions","organizations_url":"https://api.github.com/users/jmalloc/orgs","repos_url":"https://api.github.com/users/jmalloc/repos","events_url":"https://api.github.com/users/jmalloc/events{/privacy}","received_events_url":"https://api.github.com/users/jmalloc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/recoilphp/recoil/milestones/2","html_url":"https://github.com/recoilphp/recoil/milestones/1.0.0","labels_url":"https://api.github.com/repos/recoilphp/recoil/milestones/2/labels","id":1644950,"number":2,"title":"1.0.0","description":"","creator":{"login":"jmalloc","id":761536,"avatar_url":"https://avatars.githubusercontent.com/u/761536?v=3","gravatar_id":"","url":"https://api.github.com/users/jmalloc","html_url":"https://github.com/jmalloc","followers_url":"https://api.github.com/users/jmalloc/followers","following_url":"https://api.github.com/users/jmalloc/following{/other_user}","gists_url":"https://api.github.com/users/jmalloc/gists{/gist_id}","starred_url":"https://api.github.com/users/jmalloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmalloc/subscriptions","organizations_url":"https://api.github.com/users/jmalloc/orgs","repos_url":"https://api.github.com/users/jmalloc/repos","events_url":"https://api.github.com/users/jmalloc/events{/privacy}","received_events_url":"https://api.github.com/users/jmalloc/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":17,"state":"open","created_at":"2016-03-15T08:12:29Z","updated_at":"2016-07-20T02:50:43Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-07-20T02:50:43Z","updated_at":"2016-07-20T02:50:43Z","closed_at":null,"body":"The intent of these methods was to provide a way to resume strands that's part of the kernel API, so that it may be versioned independently of the underlying strand implementation. However, (exclusively) using these operations means that you can't resume strands from outside a coroutine.\r\n\r\nLong story short, there needs to be a way to resume strands from \"regular PHP code\" that is part of the public API. `Strand` already implements `Listener`, so perhaps this is as simple as packaging and versioning `Listener` along with `Api`.\r\n\r\nFYI @koden-km "}}
{"actor":{"display_login":"jmalloc"}}