{"action":"created","comment":{"url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/comments/119765126","pull_request_review_id":41675330,"id":119765126,"diff_hunk":"@@ -4,18 +4,16 @@ import { Observable } from '../Observable';\n import { TeardownLogic } from '../Subscription';\n \n /**\n- * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable\n- * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given\n- * as a number parameter) rather than propagating the `error` call.\n+ * 返回一个 Observable， 该 Observable 是源 Observable 不包含错误异常的镜像. 如果源 Observable 发生错误, 这个方法不会传播错误而是会不\n+ * 断的重新订阅源 Observable 直到达到最大重试次数 (由数字参数指定)。 \n  *\n  * <img src=\"./img/retry.png\" width=\"100%\">\n  *\n- * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted\n- * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second\n- * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications\n- * would be: [1, 2, 1, 2, 3, 4, 5, `complete`].\n- * @param {number} count - Number of retry attempts before failing.\n- * @return {Observable} The source Observable modified with the retry logic.\n+ * 任何所有被源 Observable 发出的数据项都会被做为结果的 Observable 发出, 即使这些发送是在失败的订阅期间. 举个例子, 如果一个 Observable \n+ * 第一次发送[1, 2]后失败了，紧接着第二次成功的发出: [1, 2, 3, 4, 5]\n+ * 后触发完成， 最后发送流和通知为: [1, 2, 1, 2, 3, 4, 5, `complete`].\n+ * @param {number} count - 在失败之前重试的次数.\n+ * @return {Observable} 源 Observable 被重试逻辑修改过.","path":"src/operator/retry.ts","position":22,"original_position":22,"commit_id":"dfef7713d7b3e7a3f91683cbc65d50e0085445b6","original_commit_id":"dfef7713d7b3e7a3f91683cbc65d50e0085445b6","user":{"login":"SangKa","id":6177271,"avatar_url":"https://avatars0.githubusercontent.com/u/6177271?v=3","gravatar_id":"","url":"https://api.github.com/users/SangKa","html_url":"https://github.com/SangKa","followers_url":"https://api.github.com/users/SangKa/followers","following_url":"https://api.github.com/users/SangKa/following{/other_user}","gists_url":"https://api.github.com/users/SangKa/gists{/gist_id}","starred_url":"https://api.github.com/users/SangKa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SangKa/subscriptions","organizations_url":"https://api.github.com/users/SangKa/orgs","repos_url":"https://api.github.com/users/SangKa/repos","events_url":"https://api.github.com/users/SangKa/events{/privacy}","received_events_url":"https://api.github.com/users/SangKa/received_events","type":"User","site_admin":false},"body":"‘使用重试逻辑修改过的源 Observable 。’ 会不会更通顺一些？","created_at":"2017-06-02T01:28:28Z","updated_at":"2017-06-02T01:29:04Z","html_url":"https://github.com/RxJS-CN/RxJS-Docs-CN/pull/10#discussion_r119765126","pull_request_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/comments/119765126"},"html":{"href":"https://github.com/RxJS-CN/RxJS-Docs-CN/pull/10#discussion_r119765126"},"pull_request":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10","id":123459688,"html_url":"https://github.com/RxJS-CN/RxJS-Docs-CN/pull/10","diff_url":"https://github.com/RxJS-CN/RxJS-Docs-CN/pull/10.diff","patch_url":"https://github.com/RxJS-CN/RxJS-Docs-CN/pull/10.patch","issue_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues/10","number":10,"state":"open","locked":false,"title":"操作符 API 翻译： retry -> skipWhile","user":{"login":"moreJs","id":7888082,"avatar_url":"https://avatars3.githubusercontent.com/u/7888082?v=3","gravatar_id":"","url":"https://api.github.com/users/moreJs","html_url":"https://github.com/moreJs","followers_url":"https://api.github.com/users/moreJs/followers","following_url":"https://api.github.com/users/moreJs/following{/other_user}","gists_url":"https://api.github.com/users/moreJs/gists{/gist_id}","starred_url":"https://api.github.com/users/moreJs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moreJs/subscriptions","organizations_url":"https://api.github.com/users/moreJs/orgs","repos_url":"https://api.github.com/users/moreJs/repos","events_url":"https://api.github.com/users/moreJs/events{/privacy}","received_events_url":"https://api.github.com/users/moreJs/received_events","type":"User","site_admin":false},"body":"完成下列操作符的 API 翻译：\r\n  - [x] retry\r\n  - [x] retryWhen\r\n  - [x] sample\r\n  - [x] sampleTime\r\n  - [x] scan\r\n  - [x] sequenceEqual\r\n  - [x] share\r\n  - [x] single\r\n  - [x] skip\r\n  - [x] skipLast\r\n  - [x] skipUntil\r\n  - [x] skipWhile","created_at":"2017-06-01T09:52:02Z","updated_at":"2017-06-02T01:29:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a800a8ebfc93cb8ed6d17e90779fd2841e37141","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10/commits","review_comments_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10/comments","review_comment_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues/10/comments","statuses_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/statuses/dfef7713d7b3e7a3f91683cbc65d50e0085445b6","head":{"label":"moreJs:morejs_dev_stage1","ref":"morejs_dev_stage1","sha":"dfef7713d7b3e7a3f91683cbc65d50e0085445b6","user":{"login":"moreJs","id":7888082,"avatar_url":"https://avatars3.githubusercontent.com/u/7888082?v=3","gravatar_id":"","url":"https://api.github.com/users/moreJs","html_url":"https://github.com/moreJs","followers_url":"https://api.github.com/users/moreJs/followers","following_url":"https://api.github.com/users/moreJs/following{/other_user}","gists_url":"https://api.github.com/users/moreJs/gists{/gist_id}","starred_url":"https://api.github.com/users/moreJs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moreJs/subscriptions","organizations_url":"https://api.github.com/users/moreJs/orgs","repos_url":"https://api.github.com/users/moreJs/repos","events_url":"https://api.github.com/users/moreJs/events{/privacy}","received_events_url":"https://api.github.com/users/moreJs/received_events","type":"User","site_admin":false},"repo":{"id":92887851,"name":"RxJS-Docs-CN","full_name":"moreJs/RxJS-Docs-CN","owner":{"login":"moreJs","id":7888082,"avatar_url":"https://avatars3.githubusercontent.com/u/7888082?v=3","gravatar_id":"","url":"https://api.github.com/users/moreJs","html_url":"https://github.com/moreJs","followers_url":"https://api.github.com/users/moreJs/followers","following_url":"https://api.github.com/users/moreJs/following{/other_user}","gists_url":"https://api.github.com/users/moreJs/gists{/gist_id}","starred_url":"https://api.github.com/users/moreJs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moreJs/subscriptions","organizations_url":"https://api.github.com/users/moreJs/orgs","repos_url":"https://api.github.com/users/moreJs/repos","events_url":"https://api.github.com/users/moreJs/events{/privacy}","received_events_url":"https://api.github.com/users/moreJs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moreJs/RxJS-Docs-CN","description":"RxJS 5 中文文档","fork":true,"url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN","forks_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/forks","keys_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/teams","hooks_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/hooks","issue_events_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/issues/events{/number}","events_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/events","assignees_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/assignees{/user}","branches_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/branches{/branch}","tags_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/tags","blobs_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/git/refs{/sha}","trees_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/statuses/{sha}","languages_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/languages","stargazers_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/stargazers","contributors_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/contributors","subscribers_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/subscribers","subscription_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/subscription","commits_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/commits{/sha}","git_commits_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/git/commits{/sha}","comments_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/comments{/number}","issue_comment_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/issues/comments{/number}","contents_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/contents/{+path}","compare_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/merges","archive_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/downloads","issues_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/issues{/number}","pulls_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/pulls{/number}","milestones_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/milestones{/number}","notifications_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/labels{/name}","releases_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/releases{/id}","deployments_url":"https://api.github.com/repos/moreJs/RxJS-Docs-CN/deployments","created_at":"2017-05-31T00:27:17Z","updated_at":"2017-05-31T00:27:20Z","pushed_at":"2017-06-01T09:48:39Z","git_url":"git://github.com/moreJs/RxJS-Docs-CN.git","ssh_url":"git@github.com:moreJs/RxJS-Docs-CN.git","clone_url":"https://github.com/moreJs/RxJS-Docs-CN.git","svn_url":"https://github.com/moreJs/RxJS-Docs-CN","homepage":"http://cn.rx.js.org","size":81891,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RxJS-CN:master","ref":"master","sha":"5555c9fe57a881b53ec71ea21765bac684ca0d60","user":{"login":"RxJS-CN","id":25149487,"avatar_url":"https://avatars1.githubusercontent.com/u/25149487?v=3","gravatar_id":"","url":"https://api.github.com/users/RxJS-CN","html_url":"https://github.com/RxJS-CN","followers_url":"https://api.github.com/users/RxJS-CN/followers","following_url":"https://api.github.com/users/RxJS-CN/following{/other_user}","gists_url":"https://api.github.com/users/RxJS-CN/gists{/gist_id}","starred_url":"https://api.github.com/users/RxJS-CN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxJS-CN/subscriptions","organizations_url":"https://api.github.com/users/RxJS-CN/orgs","repos_url":"https://api.github.com/users/RxJS-CN/repos","events_url":"https://api.github.com/users/RxJS-CN/events{/privacy}","received_events_url":"https://api.github.com/users/RxJS-CN/received_events","type":"Organization","site_admin":false},"repo":{"id":89913506,"name":"RxJS-Docs-CN","full_name":"RxJS-CN/RxJS-Docs-CN","owner":{"login":"RxJS-CN","id":25149487,"avatar_url":"https://avatars1.githubusercontent.com/u/25149487?v=3","gravatar_id":"","url":"https://api.github.com/users/RxJS-CN","html_url":"https://github.com/RxJS-CN","followers_url":"https://api.github.com/users/RxJS-CN/followers","following_url":"https://api.github.com/users/RxJS-CN/following{/other_user}","gists_url":"https://api.github.com/users/RxJS-CN/gists{/gist_id}","starred_url":"https://api.github.com/users/RxJS-CN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxJS-CN/subscriptions","organizations_url":"https://api.github.com/users/RxJS-CN/orgs","repos_url":"https://api.github.com/users/RxJS-CN/repos","events_url":"https://api.github.com/users/RxJS-CN/events{/privacy}","received_events_url":"https://api.github.com/users/RxJS-CN/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RxJS-CN/RxJS-Docs-CN","description":"RxJS 5 中文文档","fork":false,"url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN","forks_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/forks","keys_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/teams","hooks_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/hooks","issue_events_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues/events{/number}","events_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/events","assignees_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/assignees{/user}","branches_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/branches{/branch}","tags_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/tags","blobs_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/git/refs{/sha}","trees_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/statuses/{sha}","languages_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/languages","stargazers_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/stargazers","contributors_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/contributors","subscribers_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/subscribers","subscription_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/subscription","commits_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/commits{/sha}","git_commits_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/git/commits{/sha}","comments_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/comments{/number}","issue_comment_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues/comments{/number}","contents_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/contents/{+path}","compare_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/merges","archive_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/downloads","issues_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues{/number}","pulls_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls{/number}","milestones_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/milestones{/number}","notifications_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/labels{/name}","releases_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/releases{/id}","deployments_url":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/deployments","created_at":"2017-05-01T09:55:05Z","updated_at":"2017-05-27T00:58:21Z","pushed_at":"2017-06-01T09:52:03Z","git_url":"git://github.com/RxJS-CN/RxJS-Docs-CN.git","ssh_url":"git@github.com:RxJS-CN/RxJS-Docs-CN.git","clone_url":"https://github.com/RxJS-CN/RxJS-Docs-CN.git","svn_url":"https://github.com/RxJS-CN/RxJS-Docs-CN","homepage":"http://cn.rx.js.org","size":81798,"stargazers_count":12,"watchers_count":12,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10"},"html":{"href":"https://github.com/RxJS-CN/RxJS-Docs-CN/pull/10"},"issue":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues/10"},"comments":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/RxJS-CN/RxJS-Docs-CN/statuses/dfef7713d7b3e7a3f91683cbc65d50e0085445b6"}}}}
{"actor":{"display_login":"SangKa"}}