{"action":"created","issue":{"url":"https://api.github.com/repos/petkaantonov/bluebird/issues/457","labels_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/457/comments","events_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/457/events","html_url":"https://github.com/petkaantonov/bluebird/issues/457","id":55009907,"number":457,"title":"Bluebird.method or any other wrapper as ES6 Class method","user":{"login":"klimashkin","id":576077,"avatar_url":"https://avatars.githubusercontent.com/u/576077?v=3","gravatar_id":"","url":"https://api.github.com/users/klimashkin","html_url":"https://github.com/klimashkin","followers_url":"https://api.github.com/users/klimashkin/followers","following_url":"https://api.github.com/users/klimashkin/following{/other_user}","gists_url":"https://api.github.com/users/klimashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/klimashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimashkin/subscriptions","organizations_url":"https://api.github.com/users/klimashkin/orgs","repos_url":"https://api.github.com/users/klimashkin/repos","events_url":"https://api.github.com/users/klimashkin/events{/privacy}","received_events_url":"https://api.github.com/users/klimashkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T12:01:24Z","updated_at":"2015-01-21T12:27:48Z","closed_at":null,"body":"Hello! It's not straight bluebird issue, but maybe community will help.\r\nHow to declare ES6 Class method as Bluebird.method or Bluebird.coroutine? :)\r\n```\r\nclass View {\r\n  constructor(options) { ... }\r\n  someMethod() { ... }\r\n}\r\n```\r\nI want ```someMethod``` to be coroutine"},"comment":{"url":"https://api.github.com/repos/petkaantonov/bluebird/issues/comments/70828295","html_url":"https://github.com/petkaantonov/bluebird/issues/457#issuecomment-70828295","issue_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/457","id":70828295,"user":{"login":"klimashkin","id":576077,"avatar_url":"https://avatars.githubusercontent.com/u/576077?v=3","gravatar_id":"","url":"https://api.github.com/users/klimashkin","html_url":"https://github.com/klimashkin","followers_url":"https://api.github.com/users/klimashkin/followers","following_url":"https://api.github.com/users/klimashkin/following{/other_user}","gists_url":"https://api.github.com/users/klimashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/klimashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimashkin/subscriptions","organizations_url":"https://api.github.com/users/klimashkin/orgs","repos_url":"https://api.github.com/users/klimashkin/repos","events_url":"https://api.github.com/users/klimashkin/events{/privacy}","received_events_url":"https://api.github.com/users/klimashkin/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T12:27:48Z","updated_at":"2015-01-21T12:27:48Z","body":"Strange. Maybe es6 writers explained such restrictions somewhere?"}}