Share via


Observable.SkipUntil Method

Returns the values from the source observable sequence only after the other observable sequence produces a value.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
 _
Public Shared Function SkipUntil(Of TSource, TOther) ( _
    source As IObservable(Of TSource), _
    other As IObservable(Of TOther) _
) As IObservable(Of TSource)
'Usage
Dim source As IObservable(Of TSource)
Dim other As IObservable(Of TOther)
Dim returnValue As IObservable(Of TSource)

returnValue = source.SkipUntil(other)
public static IObservable SkipUntil(
    this IObservable source,
    IObservable other
)
[ExtensionAttribute]
public:
generic
static IObservable^ SkipUntil(
    IObservable^ source, 
    IObservable^ other
)
static member SkipUntil : 
        source:IObservable<'TSource> * 
        other:IObservable<'TOther> -> IObservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.
  • TOther
    The other type.

Parameters

  • other
    Type: System.IObservable
    The observable sequence that triggers propagation of elements of the source sequence.

Return Value

Type: System.IObservable
An observable sequence containing the elements of the source sequence starting from the point the other sequence triggered propagation.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

System.Reactive.Linq Namespace