Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Process<TSource, TOther>(IObservable<TSource>, IObservable<TOther>)

Merges the specified sources into one observable sequence by emitting a pair with the latest source elements only when the first observable sequence produces an element.

public IObservable<Tuple<TSource, TOther>> Process<TSource, TOther>(IObservable<TSource> source, IObservable<TOther> other)

Parameters

source IObservable<TSource>

The first observable sequence.

other IObservable<TOther>

The other observable sequence.

Returns

IObservable<Tuple<TSource, TOther>>

An observable sequence containing the result of combining the latest elements of the sources into pairs only when the first sequence produces an element.

Type Parameters

TSource

The type of the elements in the source sequence.

TOther

The type of the elements in the other sequence.