>
Defined in Type: ObservableListEx
Namespace: DynamicData
Assembly: DynamicData.dll
Applies to
net10.0, netstandard2.0
public static IObservable<IChangeSet<TObject>> BufferInitial<TObject>(this IObservable<IChangeSet<TObject>> source, TimeSpan initialBuffer, IScheduler? scheduler = null) where TObject : notnull
Summary: Buffers changesets during an initial time window, then emits a single combined changeset and passes through subsequent changes.
Type parameters
| Name | Description |
|---|---|
TObject | The type of items in the list. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | The source IObservable<IChangeSet<TObject>> to buffer during the initial loading period. |
initialBuffer | TimeSpan | The TimeSpan time period (measured from first emission) during which changes are buffered. |
scheduler = null | [IScheduler?](# | The [IScheduler](# for timing the buffer window. |
Returns: IObservable
Remarks
For a configured duration after the first emission, all changesets are buffered and combined into a single emission. After this initial window, subsequent changesets pass through immediately.
See also