Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit d53a791

Browse files
committed
Update throttlefirst.md
1 parent b099ef0 commit d53a791

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/core/operators/throttlefirst.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### `Rx.Observable.prototype.throttleFirst(windowDuration, [scheduler])`
22
[Ⓢ](https://github.com/Reactive-Extensions/RxJS/blob/master/src/core/linq/observable/throttlefirst.js "View in source")
33

4-
Ignores values from an observable sequence which are followed by another value before dueTime.
4+
Returns an Observable that emits only the first item emitted by the source Observable during sequential time windows of a specified duration.
55

66
#### Arguments
77
1. `windowDuration` *(`Number`)*: Time to wait before emitting another item after emitting the last item (specified as an integer denoting milliseconds).
@@ -27,7 +27,7 @@ var source = Rx.Observable.from(times)
2727
.of(item.value)
2828
.delay(item.time);
2929
})
30-
.throttleFirst(500 /* ms */);
30+
.throttleFirst(300 /* ms */);
3131

3232
var subscription = source.subscribe(
3333
function (x) {

0 commit comments

Comments
 (0)