Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 719 Bytes

File metadata and controls

20 lines (10 loc) · 719 Bytes

{% if book.isPdf %}

switch

{% else %}

{% endif %}

Transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence. There is an alias for this method called switchLatest for browsers <IE9.

Returns

(Observable): The observable sequence that at any point in time produces the elements of the most recent inner observable sequence that has been received.

Example