Method Process
Process<TSource, TBufferOpening>(IObservable<TSource>, IObservable<TBufferOpening>)
Projects each element of an observable sequence into zero or more buffers created when a second sequence emits a notification.
public IObservable<IList<TSource>> Process<TSource, TBufferOpening>(IObservable<TSource> source, IObservable<TBufferOpening> bufferOpenings)
Parameters
sourceIObservable<TSource>The source sequence to produce buffers over.
bufferOpeningsIObservable<TBufferOpening>The sequence of buffer openings. If no maximum length is specified, the current buffer is closed and a new buffer is opened upon receiving a notification from this sequence.
Returns
- IObservable<IList<TSource>>
An observable sequence of buffers.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.TBufferOpeningThe type of the elements in the
bufferOpeningssequence.