{"action":"created","issue":{"url":"https://api.github.com/repos/cujojs/most/issues/103","labels_url":"https://api.github.com/repos/cujojs/most/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/cujojs/most/issues/103/comments","events_url":"https://api.github.com/repos/cujojs/most/issues/103/events","html_url":"https://github.com/cujojs/most/issues/103","id":60596792,"number":103,"title":"concatMap with deferreds / chaining promises","user":{"login":"aaronshaf","id":122654,"avatar_url":"https://avatars.githubusercontent.com/u/122654?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronshaf","html_url":"https://github.com/aaronshaf","followers_url":"https://api.github.com/users/aaronshaf/followers","following_url":"https://api.github.com/users/aaronshaf/following{/other_user}","gists_url":"https://api.github.com/users/aaronshaf/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronshaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronshaf/subscriptions","organizations_url":"https://api.github.com/users/aaronshaf/orgs","repos_url":"https://api.github.com/users/aaronshaf/repos","events_url":"https://api.github.com/users/aaronshaf/events{/privacy}","received_events_url":"https://api.github.com/users/aaronshaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-03-11T01:29:08Z","updated_at":"2015-03-16T23:56:12Z","closed_at":null,"body":"Any ideas on how I would do the equivalent of this in most?\r\n\r\nhttp://jsbin.com/kodoni/2/edit?js,console\r\n\r\n```javascript\r\nvar source = Rx.Observable.of(1,2,3,4)\r\n  .concatMap(function(x) {\r\n    return Rx.Observable.defer(function() {\r\n      return new Promise(function(resolve, reject) {\r\n        setTimeout(function() {\r\n          resolve(x);\r\n        }, 1000);\r\n      });\r\n    });\r\n  })\r\n  .subscribe(function(i) {\r\n    console.log(i);\r\n  });\r\n```"},"comment":{"url":"https://api.github.com/repos/cujojs/most/issues/comments/81998871","html_url":"https://github.com/cujojs/most/issues/103#issuecomment-81998871","issue_url":"https://api.github.com/repos/cujojs/most/issues/103","id":81998871,"user":{"login":"aaronshaf","id":122654,"avatar_url":"https://avatars.githubusercontent.com/u/122654?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronshaf","html_url":"https://github.com/aaronshaf","followers_url":"https://api.github.com/users/aaronshaf/followers","following_url":"https://api.github.com/users/aaronshaf/following{/other_user}","gists_url":"https://api.github.com/users/aaronshaf/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronshaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronshaf/subscriptions","organizations_url":"https://api.github.com/users/aaronshaf/orgs","repos_url":"https://api.github.com/users/aaronshaf/repos","events_url":"https://api.github.com/users/aaronshaf/events{/privacy}","received_events_url":"https://api.github.com/users/aaronshaf/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T23:56:12Z","updated_at":"2015-03-16T23:56:12Z","body":"Ah! A simple fix!\r\n\r\nThis works _wonderfully_, and it is exactly the kind of thing I was looking for. Thank you!"}}