Share via


Observable.SkipUntil<TSource, TOther> 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
<ExtensionAttribute> _
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<TSource> SkipUntil<TSource, TOther>(
    this IObservable<TSource> source,
    IObservable<TOther> other
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TOther>
static IObservable<TSource>^ SkipUntil(
    IObservable<TSource>^ source, 
    IObservable<TOther>^ 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<TOther>
    The observable sequence that triggers propagation of elements of the source sequence.

Return Value

Type: System.IObservable<TSource>
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<TSource>. 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