onEnd()
onEnd<
T>(cb):OperatorFunction<T,T>
Defined in: src/OnEnd.ts:14
Creates an operator that calls cb once, after the source has been
iterated to its end. It is not called if the consumer stops early or the
source throws.
Type Parameters
T
T
Parameters
cb
() => void
called once at the end of the iteration
Returns
OperatorFunction<T, T>
an operator function
See
tap for an example