{"action":"closed","issue":{"url":"https://api.github.com/repos/jlipps/asyncbox/issues/1","labels_url":"https://api.github.com/repos/jlipps/asyncbox/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jlipps/asyncbox/issues/1/comments","events_url":"https://api.github.com/repos/jlipps/asyncbox/issues/1/events","html_url":"https://github.com/jlipps/asyncbox/issues/1","id":100887087,"number":1,"title":"asyncmap should not throw an error if given an empty array","user":{"login":"imurchie","id":2614354,"avatar_url":"https://avatars.githubusercontent.com/u/2614354?v=3","gravatar_id":"","url":"https://api.github.com/users/imurchie","html_url":"https://github.com/imurchie","followers_url":"https://api.github.com/users/imurchie/followers","following_url":"https://api.github.com/users/imurchie/following{/other_user}","gists_url":"https://api.github.com/users/imurchie/gists{/gist_id}","starred_url":"https://api.github.com/users/imurchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurchie/subscriptions","organizations_url":"https://api.github.com/users/imurchie/orgs","repos_url":"https://api.github.com/users/imurchie/repos","events_url":"https://api.github.com/users/imurchie/events{/privacy}","received_events_url":"https://api.github.com/users/imurchie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T22:55:27Z","updated_at":"2015-08-14T00:21:52Z","closed_at":"2015-08-14T00:21:52Z","body":"To keep things in line with how `Array#map` works, `asyncmap` ought to just return an empty array when called with `coll = []`. Otherwise each call needs to be preceded by a check to make sure there is something in the array."}}