Observable that emits the first num items emitted by the source Observable.
You can choose to pay attention only to the first num items emitted by an Observable by using
the take operator. This operator returns an Observable that will invoke a subscriber's
onNext function a maximum of num times before invoking
onCompleted.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber |
| limit | back to summary |
|---|---|
| pack-priv final int limit | |
| OperatorTake | back to summary |
|---|---|
| public OperatorTake(int limit) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |