takeLast
Source Location: packages/core/src/source.ts#L2760
Signature
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. |