An Transformer which commutes an Observable to one result value before finishing.
A new observable which publishes one value.
const three = prune()(each([3, 2, 1]));void three.subscribe((n: number) => void console.log(`n = ${n}`)); Copy
const three = prune()(each([3, 2, 1]));void three.subscribe((n: number) => void console.log(`n = ${n}`));
n = 3 Copy
n = 3
Generated using TypeDoc
An Transformer which commutes an Observable to one result value before finishing.