{"action":"created","issue":{"url":"https://api.github.com/repos/lnug/speakers/issues/46","labels_url":"https://api.github.com/repos/lnug/speakers/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/lnug/speakers/issues/46/comments","events_url":"https://api.github.com/repos/lnug/speakers/issues/46/events","html_url":"https://github.com/lnug/speakers/issues/46","id":105033442,"number":46,"title":"The Miracle of Generators","user":{"login":"bodil","id":17880,"avatar_url":"https://avatars.githubusercontent.com/u/17880?v=3","gravatar_id":"","url":"https://api.github.com/users/bodil","html_url":"https://github.com/bodil","followers_url":"https://api.github.com/users/bodil/followers","following_url":"https://api.github.com/users/bodil/following{/other_user}","gists_url":"https://api.github.com/users/bodil/gists{/gist_id}","starred_url":"https://api.github.com/users/bodil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodil/subscriptions","organizations_url":"https://api.github.com/users/bodil/orgs","repos_url":"https://api.github.com/users/bodil/repos","events_url":"https://api.github.com/users/bodil/events{/privacy}","received_events_url":"https://api.github.com/users/bodil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-05T15:39:42Z","updated_at":"2015-09-08T18:30:35Z","closed_at":null,"body":"The ECMAScript 2015 specification introduced *iterators*, which generalise iteration over common data structures, as well as providing an interface for allowing you to iterate over any custom data structures using common language constructs. ES2015 also introduced *generator functions*, which make writing arbitrary iterators a lot easier and less boilerplatey.\r\n\r\nBut generators aren't just for making simple iterators over data structures. Because they're bidirectional—they don't only produce output, they can also take input—they're actually *coroutines*, which means there's no end to the sort of fun you can apply them to. We're going to explore how we can use them to make asynchronous programming in JavaScript a lot more elegant—to chart a path out of callback hell. And then we're going to take a look at what we've really discovered: one of the most fearsome mysteries of computer science, suddenly laid bare before us."},"comment":{"url":"https://api.github.com/repos/lnug/speakers/issues/comments/138662177","html_url":"https://github.com/lnug/speakers/issues/46#issuecomment-138662177","issue_url":"https://api.github.com/repos/lnug/speakers/issues/46","id":138662177,"user":{"login":"iancrowther","id":76060,"avatar_url":"https://avatars.githubusercontent.com/u/76060?v=3","gravatar_id":"","url":"https://api.github.com/users/iancrowther","html_url":"https://github.com/iancrowther","followers_url":"https://api.github.com/users/iancrowther/followers","following_url":"https://api.github.com/users/iancrowther/following{/other_user}","gists_url":"https://api.github.com/users/iancrowther/gists{/gist_id}","starred_url":"https://api.github.com/users/iancrowther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iancrowther/subscriptions","organizations_url":"https://api.github.com/users/iancrowther/orgs","repos_url":"https://api.github.com/users/iancrowther/repos","events_url":"https://api.github.com/users/iancrowther/events{/privacy}","received_events_url":"https://api.github.com/users/iancrowther/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T18:30:35Z","updated_at":"2015-09-08T18:30:35Z","body":"Are you ok for September 23rd?"}}