Skip to content

skip()

Function

skip<T>(count: number): MaybeCancellingPipeOperator<T, T>

Skip a specified number of emissions.

ts
declare const read1: Read<string>;
const read: Read<string> = read1.pipe(skip<string>(1));

Observable Behavior:

Works exactly like skip of RxJS.

Sync Behavior:

Has no effect on sync calls. The value is just passed through.

Source: lib/operators/skip.operator.ts:27

Type parameters

ParameterDescription
Ttype of the value

Parameters

ParameterTypeDescription
countnumbernumber of skipped emissions

Returns

MaybeCancellingPipeOperator<T, T>