Export (0) Print
Expand All

Observable.BufferWithTime<TSource> Method (IObservable<TSource>, TimeSpan, IScheduler)

March 22, 2012

Projects each value of an observable sequence into a buffer.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<IList<TSource>> BufferWithTime<TSource>(
	this IObservable<TSource> source,
	TimeSpan timeSpan,
	IScheduler scheduler
)

Type Parameters

TSource

Parameters

source
Type: System.IObservable<TSource>
timeSpan
Type: System.TimeSpan
scheduler
Type: Microsoft.Phone.Reactive.IScheduler

Return Value

Type: System.IObservable<IList<TSource>>
Returns IObservable<T>.

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.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft