RxPY
1.5.2
  • Public API
    • Observable
    • Operators
      • Introduction
      • Operators By Category
      • A Decision Tree of Observable Operators
      • An Alphabetical List of Observable Operators
        • All
        • Amb
        • And-then-when
        • As observable
        • Average
        • Buffer
        • Case
        • Catch
        • Combine latest
        • Concat
        • Contains
        • Controlled
        • Count
        • Create
        • Create with disposable
        • Debounce
        • Default if empty
        • Delay
        • Distinct
        • Do
        • Do while
        • Element at
        • Empty-never-throw
        • Filter
        • First
        • Flat map
        • Flat map latest
        • From
        • From marbles
        • From string
        • Group by
        • Ignore elements
        • Interval
        • Join
        • Just
        • Last
        • Map
        • Materialize-dematerialize
        • Max
        • Merge
        • Min
        • Min by
        • Observe on
        • Pausable
        • Pausable buffered
        • Pluck
        • Pluck attr
        • Publish
        • Range
        • Reduce
        • Repeat
        • Replay
        • Retry
        • Sample
        • Scan
        • Select
        • Sequence equal
        • Share
        • Skip
        • Skip last
        • Skip until
        • Skip until with time
        • Skip while
        • Start
        • Start with
        • Subscribe
        • Subscribe on
        • Sum
        • Switch
        • Switch map
        • Take
        • Take last
        • Take last with time
        • Take until
        • Take until with time
        • Take while
        • Then
        • Time interval
        • Timeout
        • Timer
        • Timestamp
        • To
        • To marbles
        • To string
        • Transduce
        • Using
        • While do
        • Window
        • Zip
    • Core
    • Single
    • Subject
    • Scheduler
  • Interactive Marble Diagrams
RxPY
  • Docs »
  • Public API »
  • Operators »
  • Skip
  • View page source

Skip¶

See also

  • Official ReactiveX documentation: Skip
Observable.skip(count)¶

Bypasses a specified number of elements in an observable sequence and then returns the remaining elements.

Keyword arguments: count – The number of elements to skip before returning the remaining

elements.

Returns an observable sequence that contains the elements that occur after the specified index in the input sequence.

../../_images/skip.png
Observable.skip_with_time(duration, scheduler=None)¶

Skips elements for the specified duration from the start of the observable source sequence, using the specified scheduler to run timers.

Example: 1 - res = source.skip_with_time(5000, [optional scheduler])

Description: Specifying a zero value for duration doesn’t guarantee no elements will be dropped from the start of the source sequence. This is a side-effect of the asynchrony introduced by the scheduler, where the action that causes callbacks from the source sequence to be forwarded may not execute immediately, despite the zero due time.

Errors produced by the source sequence are always forwarded to the result sequence, even if the error occurs before the duration.

Keyword arguments: duration – {Number} Duration for skipping elements from the start of

the sequence.
scheduler – {Scheduler} Scheduler to run the timer on. If not
specified, defaults to Rx.Scheduler.timeout.

Returns n observable {Observable} sequence with the elements skipped during the specified duration from the start of the source sequence.

Next Previous

© Copyright 2016, Dag Brattli.

Built with Sphinx using a theme provided by Read the Docs.