{"action":"closed","issue":{"url":"https://api.github.com/repos/artin-phares/TDL/issues/62","labels_url":"https://api.github.com/repos/artin-phares/TDL/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/artin-phares/TDL/issues/62/comments","events_url":"https://api.github.com/repos/artin-phares/TDL/issues/62/events","html_url":"https://github.com/artin-phares/TDL/issues/62","id":65526997,"number":62,"title":"Fix callback hell","user":{"login":"artin-phares","id":671082,"avatar_url":"https://avatars.githubusercontent.com/u/671082?v=3","gravatar_id":"","url":"https://api.github.com/users/artin-phares","html_url":"https://github.com/artin-phares","followers_url":"https://api.github.com/users/artin-phares/followers","following_url":"https://api.github.com/users/artin-phares/following{/other_user}","gists_url":"https://api.github.com/users/artin-phares/gists{/gist_id}","starred_url":"https://api.github.com/users/artin-phares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artin-phares/subscriptions","organizations_url":"https://api.github.com/users/artin-phares/orgs","repos_url":"https://api.github.com/users/artin-phares/repos","events_url":"https://api.github.com/users/artin-phares/events{/privacy}","received_events_url":"https://api.github.com/users/artin-phares/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/artin-phares/TDL/labels/tech","name":"tech","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"artin-phares","id":671082,"avatar_url":"https://avatars.githubusercontent.com/u/671082?v=3","gravatar_id":"","url":"https://api.github.com/users/artin-phares","html_url":"https://github.com/artin-phares","followers_url":"https://api.github.com/users/artin-phares/followers","following_url":"https://api.github.com/users/artin-phares/following{/other_user}","gists_url":"https://api.github.com/users/artin-phares/gists{/gist_id}","starred_url":"https://api.github.com/users/artin-phares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artin-phares/subscriptions","organizations_url":"https://api.github.com/users/artin-phares/orgs","repos_url":"https://api.github.com/users/artin-phares/repos","events_url":"https://api.github.com/users/artin-phares/events{/privacy}","received_events_url":"https://api.github.com/users/artin-phares/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-31T19:21:49Z","updated_at":"2015-06-04T11:10:46Z","closed_at":"2015-06-04T11:10:46Z","body":"Already feel the smell of callback hell (aka \"pyramid of doom\") in some places.\r\nE.g. in server storage, when we need to load target task to get it's properties before actually update it.\r\n\r\nLet's make it nice and modern.\r\n\r\nInvestigate approaches:\r\n- Modules\r\n- Async lib\r\n- Promises\r\n- Generators\r\n\r\nhttps://medium.com/@wavded/managing-node-js-callback-hell-1fe03ba8baf"}}