{"action":"created","issue":{"url":"https://api.github.com/repos/pillarjs/router/issues/26","labels_url":"https://api.github.com/repos/pillarjs/router/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/pillarjs/router/issues/26/comments","events_url":"https://api.github.com/repos/pillarjs/router/issues/26/events","html_url":"https://github.com/pillarjs/router/pull/26","id":109411207,"number":26,"title":"Prevent next from being called multiple times","user":{"login":"calebmer","id":8282507,"avatar_url":"https://avatars.githubusercontent.com/u/8282507?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmer","html_url":"https://github.com/calebmer","followers_url":"https://api.github.com/users/calebmer/followers","following_url":"https://api.github.com/users/calebmer/following{/other_user}","gists_url":"https://api.github.com/users/calebmer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmer/subscriptions","organizations_url":"https://api.github.com/users/calebmer/orgs","repos_url":"https://api.github.com/users/calebmer/repos","events_url":"https://api.github.com/users/calebmer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pillarjs/router/labels/pr","name":"pr","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-10-02T00:44:07Z","updated_at":"2015-10-09T19:32:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pillarjs/router/pulls/26","html_url":"https://github.com/pillarjs/router/pull/26","diff_url":"https://github.com/pillarjs/router/pull/26.diff","patch_url":"https://github.com/pillarjs/router/pull/26.patch"},"body":"An example of a usage for this reflection property would be in layer code:\r\n```javascript\r\nfunction isLayerStillWaiting(next, layer) { return next._currentLayer === layer }\r\n```\r\n\r\nThis would be useful as `router` tries to support different async language constructs. Specifically (in the case of #25) `Promise`s.\r\n\r\nSome issues to address off the top of my head:\r\n- Only accounts for the present `next` state\r\n- `next` should probably be associated with its layer so it can be locked down once used"},"comment":{"url":"https://api.github.com/repos/pillarjs/router/issues/comments/146968304","html_url":"https://github.com/pillarjs/router/pull/26#issuecomment-146968304","issue_url":"https://api.github.com/repos/pillarjs/router/issues/26","id":146968304,"user":{"login":"calebmer","id":8282507,"avatar_url":"https://avatars.githubusercontent.com/u/8282507?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmer","html_url":"https://github.com/calebmer","followers_url":"https://api.github.com/users/calebmer/followers","following_url":"https://api.github.com/users/calebmer/following{/other_user}","gists_url":"https://api.github.com/users/calebmer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmer/subscriptions","organizations_url":"https://api.github.com/users/calebmer/orgs","repos_url":"https://api.github.com/users/calebmer/repos","events_url":"https://api.github.com/users/calebmer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmer/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T19:32:03Z","updated_at":"2015-10-09T19:32:03Z","body":"What's the status on this PR? Once it is merged I can refactor #25 and get that ready for merger."}}