takeLast
Signature - source.ts#L2854
function takeLast(amount: number): IdentityOperator
Ignores all received Push events. When the source emits an End event, the last N=amount received Push event will be emitted along with the End event.
Parameters
Parameter | Type | Description |
---|---|---|
amount |
| The amount of events to keep and distribute at the end. |