Skip to content

,System.Int32)}

ObservableAsync.Skip(IObservableAsync, int) method

Defined in

Type: ObservableAsync Namespace: ReactiveUI.Extensions.Async Assembly: ReactiveUI.Extensions.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

public static IObservableAsync<T> Skip<T>(this IObservableAsync<T> @this, int count)

View source

Summary: Returns a new observable sequence that skips the specified number of elements from the start of the source sequence.

Type parameters

NameDescription
TThe type of elements in the sequence.

Parameters

NameTypeDescription
this[IObservableAsync](#The source observable sequence.
countintThe number of elements to skip. Must be greater than or equal to 0.

Returns: IObservableAsync -- An observable sequence that contains the elements of the source sequence after the specified number of elements have been skipped. If the count is 0, the original sequence is returned.

Exceptions

TypeCondition
System.ArgumentOutOfRangeExceptionThrown if count is less than 0.