Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

经实测 buffer 第一个 500毫秒不会发出500毫秒时刻的值 #4

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/operators-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ TODO
```javascript
let scissor$ = Rx.Observable.interval(500)

let emitter$ = Rx.Observable.interval(100).take(10) // 总共会输出10个值
let emitter$ = Rx.Observable.interval(100).take(10) // 总共会输出9个值
.buffer( scissor$ )

// 500毫秒后输出: [0,1,2,3,4] 1秒后输出: [5,6,7,8,9]
// 500毫秒后输出: [0,1,2,3] 1秒后输出: [4,5,6,7,8]
```

弹珠图
Expand Down